Hi again guys. I’ve managed to get my wireless card working, recognised and connecting to my router, but can’t get the internet to connect at all. Network Manager etc. all say it it is connected so I’m a bit stumped. What should I be doing next?
Can you ping? dig/nslookup? Have a default route? Please post the
output of the following commands:
ip addr sh
ip route sh
cat /etc/resolv.conf
Good luck.
kakshmire wrote:
> Hi again guys. I’ve managed to get my wireless card working, recognised
> and connecting to my router, but can’t get the internet to connect at
> all. Network Manager etc. all say it it is connected so I’m a bit
> stumped. What should I be doing next?
>
> Thanks in advance
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
Well, two problems. Starting from the end, there is a space between
‘cat’ and ‘/etc’ so fix that, but before you worry about it too much,
read on.
You have setup your own box as 192.168.1.1, and your default gateway
(the way to the Internet) is also 192.168.1.1. So your box needs to go
through itself to get to the Internet. Your box doesn’t have the
gateway setup properly, so find out what your gateway should be (your
router or cable/DSL/other modem usually) and make that your default
gateway and try again. If you are using DHCP (unlikely based on what
you have posted, imo) your DHCP server (also likely to be your router in
many cases, especially small businesses and homes) is probably causing
this misconfiguration.
Good luck.
kakshmire wrote:
> ip addr sh
>
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
> inet 127.0.0.2/8 brd 127.255.255.255 scope host secondary lo
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
> qlen 1000
> link/ether 00:0b:6a:4f:59:0d brd ff:ff:ff:ff:ff:ff
> 3: wmaster0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc ieee80211
> qlen 1000
> link/ieee802.11 00:0e:2e:26:f6:21 brd ff:ff:ff:ff:ff:ff
> 4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> qlen 1000
> link/ether 00:0e:2e:26:f6:21 brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.1/24 brd 192.168.1.255 scope global wlan0
> inet6 fe80::20e:2eff:fe26:f621/64 scope link
> valid_lft forever preferred_lft forever
>
>
> ip route sh
>
> 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.1
> 127.0.0.0/8 dev lo scope link
> default via 192.168.1.1 dev wlan0 proto static
>
>
> cat/etc/resolv.conf
>
> bash: cat/etc/resolv.conf: No such file or directory
>
>
>
> Hope I’ve done that right. The last one doesn’t look too good…
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org