LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Manual Network Setup Works, /etc/network/interfaces doesn't (http://www.linuxquestions.org/questions/linux-wireless-networking-41/manual-network-setup-works-etc-network-interfaces-doesnt-450357/)

verdeboy2k 05-31-2006 07:56 PM

Manual Network Setup Works, /etc/network/interfaces doesn't
 
I am trying to get my laptop to connect to my home wireless network. It used to work fine, but now the exact same settings don't work. However when I manually bring up the interface it does work. :scratch:

Code:

#/etc/network/interfaces
auto lo
iface lo inet loopback

auto wlan0
    pre-up      iwconfig wlan0 essid *** key 123456789A
    address      192.168.1.101
    netmask      255.255.255.0
    gateway      router

Code:

# ifup wlan0
# ping router
PING router (192.168.1.1) 56(84) bytes of data.
From 192.168.1.101 icmp_seq=2 Destination Host Unreachable
etc...

Code:

# iwconfig wlan0 essid *** key 123456789A
# ifconfig wlan0 192.168.1.101 netmask 255.255.255.0
# route add default gw router
# ifconfig wlan0 up
# ping router
PING router (192.168.1.1) 56(84) bytes of data.
64 bytes from router (192.168.1.1): icmp_seq=1 ttl=64 time=3.12 ms
etc...

Any Ideas?

Network card:
Broadcom BCM4306 (via ndiswrapper)
Distro:
Ubuntu Breezy


All times are GMT -5. The time now is 01:56 AM.