Cannot access Internet through wlan

Hi Evry1,

Brand new to the OpenSuse project. Hoping some one can help.

I’m have an old AMD Duron running 11.3 and I am having no luck in connecting to the www.

I’m using a D-Link usb wireless adapter.

I seem to have an IP address for the PC. here is the print from ifconfig:

wlan0 Link encap:Ethernet HWaddr 00:12:0E:45:75:F5
inet addr:192.168.2.7 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::218:eff:fec45:75f5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:246 errors:0 dropped:0 overruns:0 frame:0
TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:26751 (26.1Kb) TX bytes:14205 (13.8 Kb)

any help much appreciated

Thanks

On 04/06/2011 05:06 PM, pallooma wrote:
>
> Hi Evry1,
>
> Brand new to the OpenSuse project. Hoping some one can help.
>
> I’m have an old AMD Duron running 11.3 and I am having no luck in
> connecting to the www.
>
> I’m using a D-Link usb wireless adapter.
>
> I seem to have an IP address for the PC. here is the print from
> ifconfig:
>
>
> wlan0 Link encap:Ethernet HWaddr 00:12:0E:45:75:F5
> inet addr:192.168.2.7 Bcast:192.168.2.255
> Mask:255.255.255.0
> inet6 addr: fe80::218:eff:fec45:75f5/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:246 errors:0 dropped:0 overruns:0 frame:0
> TX packets:103 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:26751 (26.1Kb) TX bytes:14205 (13.8 Kb)

If this is an unpatched 11.3 distro, then you may have one of two possible bugs.

Please post the output of ‘/sbin/route -n’ and ‘cat /etc/resolv.conf’.

HI. Thanks for the quick reply.

Could you tell me what you are looking for as I cannot paste from the PC as it will not connect to internet.

Sorry !?

On 04/06/2011 06:06 PM, pallooma wrote:
>
> HI. Thanks for the quick reply.
>
> Could you tell me what you are looking for as I cannot paste from the
> PC as it will not connect to internet.

The ‘/sbin/route -n’ should have output like


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0
192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0

In particular, we need the line where the flags are UG. Based on the IP address
you posted earlier, if that line is missing, you should enter


sudo /sbin/route add default gw 192.168.2.1

If your router is not at that address, change the command appropriately. Once
the line with the UG flags is present, then


ping -c 5 192.168.2.1
ping -c 5 8.8.8.8

should both work. If not, report back if #1 worked.

The output of ‘cat /etc/resolv.conf’ needs to have a line “nameserver X.X.X.X”
where the X’s are replaced by the IP address of your nameserver. It might be
that of your router if it runs DNS, or one provided by your ISP.

Once both the pings work and you have a namneserver entry, then


ping -w www.samba.org

should work. If so, immediately run


sudo zypper up

to update the system.