Skip to main content

Thread: Wireless network works fine using Network Manager but does not work when using Bash->


hello,

i'm trying connect wireless network using bash shell. although can connect wireless networks fine using network manager in gnome, keep getting ipv4ll address when trying connect using commands in bash. using -l (avoids ipv4ll addresses) switch dhcpcd command doesn't work. can detect wireless using "iwlist scanning" command though.

commands used while attempting connect using bash:
code:
peterswinkels@petelp2:~$ sudo ifconfig eth1 down  peterswinkels@petelp2:~$ sudo ifconfig eth1  peterswinkels@petelp2:~$ sudo iwconfig eth1 essid "myaccesspoint"  peterswinkels@petelp2:~$ sudo iwconfig eth1 key s:mykey  peterswinkels@petelp2:~$ sudo dhcpcd eth1  err, eth1: timed out  warn, eth1: using ipv4ll address 169.254.139.173  dhcpcd.sh: interface eth1 has been configured new ip=169.254.139.173  peterswinkels@petelp2:~$
dmesg:
code:
[   36.308088] eth1: no ipv6 routers present  [  599.377358] addrconf(netdev_up): eth1: link not ready  [  642.984984] addrconf(netdev_change): eth1: link becomes ready  [  653.364176] eth1: no ipv6 routers present  [  757.442284] addrconf(netdev_up): eth1: link not ready  [  810.802443] addrconf(netdev_up): eth1: link not ready  [  863.854746] addrconf(netdev_up): eth1: link not ready
lspci:
code:
03:00.0 ethernet controller: broadcom corporation bcm4401-b0 100base-tx (rev 02)  03:03.0 network controller: intel corporation pro/wireless 2200bg [calexico2] network connection (rev 05)
websites found while searching information:
http://www.ghacks.net/2009/04/14/con...-command-line/
http://www.linuxforums.org/forum/ubu...rk-ubuntu.html

computer dell inspiron 6000 running ubuntu 9.04 - see above information details on network cards.

in advance.



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Wireless network works fine using Network Manager but does not work when using Bash->


Ubuntu

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support