nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Activate NIC at boot time

This is a discussion on Activate NIC at boot time within the Linux software forums, part of the Linux Getting Started category; Hello my virtual friends, I have a question today for you guys if you don't mind. I got DSL(Damn Small ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 09-20-2007, 02:11 AM
Member
User
 
Join Date: May 2007
Posts: 56
Rep Power: 2
lacloai is on a distinguished road
Default Activate NIC at boot time

Hello my virtual friends,

I have a question today for you guys if you don't mind. I got DSL(Damn Small Linux) installed and run on my old laptop. DSL does a very good job for the old hardware machine anyway compared with other distros like puppy, xubuntu, etc. My wireless nic works right away without loading the driver.

Ok. Now the only issue that I am having is everytime after I reboot my DSL and log in to my machine, my wireless nic doesn't get turned on at the boot time. So, to make it work, I have to run the command like ifup eth0 or /etc/init.d/networking restart . I don't want to do this every time I reboot or shut down the machine. I am wondering is there anyway that we can put that command in the start up script at boot time? I have tried to create a file with that command and put that file to /etc/rc5.d or either on /etc/init.d, but my wireless nic still doesn't get activated at boot time.

If you guys know how to do that with DSL, please hook me up. I think I am not smart enough to figure out. Thank you very much.

P/S: My DSL is setup and using dynamic IP from DHCP server. It is NOT configured for static IP address.

Last edited by lacloai; 09-20-2007 at 02:23 AM..
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-25-2007, 06:30 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Can you tell me your run level (uname -r)? Is network service active in that runlevel?
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 09-26-2007, 02:36 PM
Junior Member
User
 
Join Date: Sep 2007
Location: Mumbai
My distro: Fedora,CentOS,Redhat,FreeBSD
Posts: 15
Rep Power: 0
aaru is on a distinguished road
Send a message via Yahoo to aaru Send a message via Skype™ to aaru
Smile

Hi,

if you have file called "/etc/rc.local" you edit this file like follow:

ifup eth0

save & quit.then reboot the system.

rc.local file used to run, specific command's at boot time.Remeber that, this is the script running at the end of Linux Boot Process.i hope this ll very useful for you.

thanks,
aaru
Reply With Quote
  #4 (permalink)  
Old 09-26-2007, 10:11 PM
Member
User
 
Join Date: May 2007
Posts: 56
Rep Power: 2
lacloai is on a distinguished road
Default

Thank you very much for your reply to help me. I actually tried to put that command ifup eth0 in /etc/rc.local and it seems work one time and another time it doesn't. I don't know why it is giving me a hard time. Everytime I want to use wireless, I have to run that command again at root to get the ip address. I have never had any trouble like this with other distros.

Oh, I am running on DSL witch kernel of 2.4.XX. I am running on runlevel 5 for gui. I don't know what to do with it now. Thanks a lot.
Reply With Quote
  #5 (permalink)  
Old 10-12-2007, 09:57 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Kernel 2.4.xx is outdated, please get 2.6.xx as 2.4 has very poor support for wireless card
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #6 (permalink)  
Old 10-13-2007, 08:10 PM
Member
User
 
Join Date: May 2007
Posts: 56
Rep Power: 2
lacloai is on a distinguished road
Default hi

The reason is kernel 2.4.XX is still high demanded for old machine. P2 with 350MHZ and 128MB of RAM won't run well on new kernel of linux. So, that's why I'm still trying to stick with old kernel for old machine. Thanks.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How loading Modules at boot time muralidhara.rk CentOS / RHEL / Fedora 2 12-13-2007 06:51 PM
problem with linux-2.6.12 kernel at boot time khadar Getting started tutorials 0 09-12-2007 04:38 PM
NTP syncronizing time with server wrong mjhundraindra Linux software 4 09-11-2007 11:37 AM
iptables -m time Joe Linux software 1 03-14-2006 01:53 PM
How to change time for Domino 6.5 on RHEL AS 4 vin6384 Linux software 2 03-08-2006 11:35 PM


All times are GMT +5.5. The time now is 01:31 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36