Hey there new to Ubuntu and Linux in general. I'm trying to get my wireless set up. The network manager doesn't work for me at all. i've done
Code:
aptitude remove network-manager network-manger-gnome
i'm able to connect no problem following this how-to and using the static ip part of the guide. my annoyance comes from having to type in the commands all the time i start the computer.
i followed the script instructions with a few modifications and this is what i have:
/etc/rc.local
Code:
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
ifconfig lo down
ifconfig eth0 down
ifconfig wlan0 down
ifconfig wlan0 192.168.1.108 netmask 255.255.255.0
iwconfig wlan0 essid "bahay"
ifconfig wlan0 up
route add default gw 192.168.1.1
exit 0
when i first turn on the computer there are the results i get from each command:
sudo ifconfig
Code:
wlan0 Link encap:Ethernet HWaddr 00:16:B6:99:17:B9
inet addr:192.168.1.108 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15 errors:0 dropped:0 overruns:0 frame:0
TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4305 (4.2 KB) TX bytes:2396 (2.3 KB)
wmaster0 Link encap:UNSPEC HWaddr 00-16-B6-99-17-B9-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sudo iwconfig
Code:
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"bahay"
Mode:Managed Frequency:2.412 GHz Access Point: 00:14:BF:CD:D0:01
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:off
Link Signal level=-50 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
ping 192.168.1.1
Code:
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 3999ms
sudo route
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
there are my results after i manually enter each command and have a successful connection to both the router and world wide web:
sudo ifconfig
Code:
wlan0 Link encap:Ethernet HWaddr 00:16:B6:99:17:B9
inet addr:192.168.1.108 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13111 (12.8 KB) TX bytes:4146 (4.0 KB)
wmaster0 Link encap:UNSPEC HWaddr 00-16-B6-99-17-B9-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
sudo iwconfig
Code:
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"bahay"
Mode:Managed Frequency:2.412 GHz Access Point: 00:14:BF:CD:D0:01
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:off
Link Signal level=-51 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
ping 192.168.1.1
Code:
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=11.3 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=3.14 ms
--- 192.168.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 3.147/7.230/11.313/4.083 ms
sudo route
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
i'm not sure of what could be wrong because i'm fairly certain i have followed all the necessary directions up to this point. Thanks for the great how-to btw! just need to pass this last hurdle for wireless.
Bookmarks