Have to Bring Up Wireless Network Manually

Henk Koster H.A.J.Koster at xs4all.nl
Sat Jun 10 19:39:03 UTC 2006


On Sat, 10 Jun 2006 14:13:39 +0000, Frank Hahn wrote:

> I have a Gateway 7510GX laptop with a Broadcom 4318 wireless network
> card. I have had difficulties in the past with this card but have
> finally been able to get it working by using the builtin bcm43xx module.
> 
> The problem that I seem to have is that the interface does not come up
> automatically after each reboot. I have to issue the command:
> 
> "ifconfig eth1 up"
> 
> to bring up the interface. It does not happen immediately, but after
> 20-30 seconds, it will start working. I think this is tied into dhcp.
> 
> I have assigned the IP address to the laptop statically as well as the
> other computers in the house. I want them to get the same IP address
> each time they start. The Linksys WRT54G is the access point/router.
> 
> In the /etc/network/interfaces file, there are the following entries:
> 
> auto lo
> iface lo inet loopback
> address 127.0.0.1
> netmask 255.0.0.0
> 
> auto eth0
> iface eth0 inet dhcp
> 
> auto eth1
> iface eth1 inet static
> wireless-essid hahnfamily
> address 192.168.100.16
> netmask 255.255.255.0
> gateway 192.168.100.14
> wireless-key ???????? (deleted by me)
> 
> auto eth2
> iface eth2 inet dhcp
> 
> auto ath0
> iface ath0 inet dhcp
> 
> auto wlan0
> iface wlan0 inet dhcp
> 
> 
> Output from lspci -v:
> 
> 0000:03:07.0 Network controller: Broadcom Corporation BCM4318
> [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
>         Subsystem: Broadcom Corporation Gateway 7510GX
>         Flags: bus master, fast devsel, latency 64, IRQ 185
>         Memory at c0200000 (32-bit, non-prefetchable) [size=8K]
> 
> This should be something simple. Thanks.

You would also need a broadcast entry for eth1, like 
192.168.100.255. 

BTW, you don't actually need a static IP for your wireless 
interface if you can tie the desired IP in the router to the MAC
address of your card -- most routers allow this. The same holds 
for any interface...






More information about the ubuntu-users mailing list