View previous topic :: View next topic |
Author |
Message |
Dikkiedik Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Willy.jpg)
Joined: 04 Oct 2004 Posts: 406 Location: Netherlands
|
Posted: Tue Dec 27, 2005 1:25 pm Post subject: Wireless configuration problems |
|
|
Hi,
I'm using an Acer Aspire 1700's internal wireless network card to enter my home network.
I have the following in /etc/conf.d/net:
Code: |
config_eth0=( "192.168.1.5/24" )
routes_eth0=( "default gw 192.168.1.1" )
modules_eth1=( "iwconfig" )
config_eth1=( "192.168.1.6/24" )
routes_eth1=( "default gw 192.168.1.1" )
#dhcp_eth0=( "nodns nontp nonis -t 3" )
|
The following in /etc/conf.d/wireless:
Code: |
GNU nano 1.3.7 File: /etc/conf.d/wireless
mode_eth1="Managed"
channel_eth1="3"
essid_eth1="GDI"
key_GDI="My key"
dns_domain_GDI="HOME"
#dhcpcd_GDI="-t 5"
|
I know for sure that the ip addresses I provide are not yet in use.
Problem:
Both adapters are in rc, eth0 before eth1 and eth1 doesn't start at bootup after eth0.
But when I do /etc/init.d/net.eth1 restart it does start and I can use it.
Have I done something wrong here? And also, if I start eth0, is it normal for eth1 to pass boot up? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
_loki_ l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 18 Dec 2003 Posts: 680 Location: in the shell
|
Posted: Tue Dec 27, 2005 4:57 pm Post subject: |
|
|
there shoul be two diffrerent init scripts, one for net.eth0 and one for net.eth1 (both symlinks to net.lo) what is started while booting depends what you put in any runlevel (rc-update show)
If net.eth1 should be started and net.eth0 not, do
Code: |
rc-update del net.eth0 && rc-update add net.eth1 default
|
if both are needed on startup
Code: |
rc-update add net.eth0 default && rc-update add net.eth1 default
|
hope that helps.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|