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 ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
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.. |
| Sponsored Links | ||
|
|
|
|||
|
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 |
|
|||
|
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. |
|
||||
|
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 |
|
|||
|
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.
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| 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 |