| View previous topic :: View next topic |
| Author |
Message |
coolone Apprentice

Joined: 14 Nov 2006 Posts: 212
|
Posted: Fri Dec 28, 2007 7:15 pm Post subject: net.eth0 and net.wlan0 [solved] |
|
|
I have set-up a Wireless network, so i dont need net.eth0 anymore.
the problem is whenever i bootup gentoo, it always wants to bring net.eth0 up.
i got 2 files in /etc/init.d/
net.eth0 and net.wlan0
so, i did,
| Code: | rc-update del net.eth0 default
rc-update add net.wlan0 default
|
| Code: | rc-update -s
acpid | default
alsasound | boot
bootmisc | boot
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
hostname | boot
keymaps | boot
local | default nonetwork
localmount | boot
modules | boot
net.lo | boot
net.wlan0 | default
netmount | default
rmnologin | boot
sshd | default
syslog-ng | default
urandom | boot
|
but it doesnt work. i dont wanna the system bring net.eth0 up
any step i made wrong?
Could someone help with this. thanks a lot _________________ No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress
Last edited by coolone on Fri Dec 28, 2007 9:30 pm; edited 1 time in total |
|
| Back to top |
|
 |
MostAwesomeDude Guru

Joined: 12 Aug 2007 Posts: 373
|
Posted: Fri Dec 28, 2007 8:48 pm Post subject: |
|
|
On some systems, net.eth0 is autostarted by udev. You can do one of a few things:
- If you don't want eth0 up, period, delete the symlink /etc/init.d/net.eth0 .
- If you don't want it trying to start up and delaying the boot, check out netplug (sys-apps/netplug), which will background eth0 if no cable is present.
Edit:
I forgot. You could also use a userspace utility like NetworkManager, and just not use Gentoo's networking scripts. That is what I do. You will have to edit your /etc/conf.d/rc though:
| Code: | | RC_NET_STRICT_CHECKING="none" |
Otherwise NetworkManager can't start. |
|
| Back to top |
|
 |
coolone Apprentice

Joined: 14 Nov 2006 Posts: 212
|
Posted: Fri Dec 28, 2007 9:23 pm Post subject: |
|
|
hi MostAwesomeDude, i just emerged netplug, it works fine.
thank you a lot
Also find another solutoin
edit /etc/conf.d/rc
change RC_PLUG_SERVICES to
RC_PLUG_SERVICES="!net.*"
_________________ No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|