Networking Forums

Networking Forums > Computer Networking > Linux Networking > No gateway for WLAN

Reply
Thread Tools Display Modes

No gateway for WLAN

 
 
Julian Bessenroth
Guest
Posts: n/a

 
      05-23-2005, 08:51 PM

Hi,

I hope to be right here otherwise plz F'up2.

ok, I figured out how to configure my broadcom wlan device (Dell
truemobile within my Inspiron 5150 under Linux) with Ndiswrapper under
SuSE 9.2.

So for so good. The sole problem is that I can't get acces to the
internet. I presume it has something to do with a missing gateway.
Mysteriously it just appears when I use wlan. As soon as I plug into LAN
I will get a gateway. Until hotplug to LAN no gateway is listed by
"route -n".

Data transfer between two PCs ist esablished and working properly. Does
anyone has an idea were does this erroer come from?

Another problem is, that also I executed "ndiswrapper -m" at the end of
the Ndiswrapper installation/configuration the module is not loaded
automatically on restart. I've to load it manually on every start.

If I execute "ndiswrapper -m" I got the mesage: "modprobe config already
contains alias directive"
but it doesn't seem so. Which file to check for the correkt entry?

Sorry if these questions are annoying. plz be indulgent for a newbie.

thanks in advance


Julian
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      05-24-2005, 04:45 AM
On 2005-05-23, Julian Bessenroth <(E-Mail Removed)> wrote:
> internet. I presume it has something to do with a missing gateway.


Can't you add it manually? If you can, then is not a problem of the
driver but a problem in your configuration.

Davide

--
Is there a tape drive that isn't a DLT that doesn't suck dead weasels
through a lint-clogged dryer hose?
--Peter da Silva
 
Reply With Quote
 
Julian Bessenroth
Guest
Posts: n/a

 
      05-24-2005, 07:21 AM
Davide Bianchi wrote:
> On 2005-05-23, Julian Bessenroth <(E-Mail Removed)> wrote:
>
>>internet. I presume it has something to do with a missing gateway.

>
> Can't you add it manually? If you can, then is not a problem of the
> driver but a problem in your configuration.


tnx Davide for your answer. How do I add a Geteway manually. I just
tried to enter the gateway fix within the wlan config under yast2. But
there is no different in the route-output whether I do it or not. Is
there a command to do it from the command line (presume it is).

I'd no similar problem with my LAN-device. I'm starled cause
wlan-intranet works fine.

thanks in advance

Julian
 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      05-24-2005, 07:43 AM
On 2005-05-24, Julian Bessenroth <(E-Mail Removed)> wrote:
> tnx Davide for your answer. How do I add a Geteway manually.


route add default gw ip.your.gateway.here

Davide

--
Oh My God! They Killed init! You Bastards!
-- From a Slashdot.org post
 
Reply With Quote
 
Julian Bessenroth
Guest
Posts: n/a

 
      05-24-2005, 02:04 PM
Davide Bianchi wrote:
> On 2005-05-24, Julian Bessenroth <(E-Mail Removed)> wrote:
>
>>tnx Davide for your answer. How do I add a Geteway manually.

>
> route add default gw ip.your.gateway.here


TNX!!

But it seems to me I was wrong!

after adding the router or gateway-ip it doesn't change anything. I
still can't access the Internet.

see listing below.

What does this second ip for wlan0 mean (168.254.0.0) ?

Thanks to you for you patience. I hope you can help me to solve this.
I'm going crazy with this. And I thougth I'm going to leave the newbie
status:-(

TIA

Julian




output of route -n for wlan + added router-ip
---------------------------------------------
moskito:/home/modr # route -n
Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use
Iface
192.168.178.0 0.0.0.0 255.255.255.0 U 0 0 0
wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.178.1 0.0.0.0 UG 0 0 0
wlan0
------------------------------------------------------------------------

wlan with intranet working but no internet!



output of route -n with lan plugged in
--------------------------------------
moskito:/home/modr # route -n
Kernel IP Routentabelle
Ziel Router Genmask Flags Metric Ref Use
Iface
192.168.178.0 0.0.0.0 255.255.255.0 U 0 0 0
wlan0
192.168.178.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.178.1 0.0.0.0 UG 0 0 0 eth0
-----------------------------------------------------------------------

LAN with intranet working and internet!
 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      05-24-2005, 02:21 PM
On 2005-05-24, Julian Bessenroth <(E-Mail Removed)> wrote:
> What does this second ip for wlan0 mean (168.254.0.0) ?


169.254 is the so-called "zero administration network", is a
scam invented by Microsoft: if you have a machine that can't get an
IP trought DHCP an address in the 169.254 range is picked at random,
this allow (?) a machine to 'talk' to a network without configuration.
It seems that you have somewhere defined such thing.

> Iface
> 192.168.178.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
> 0.0.0.0 192.168.178.1 0.0.0.0 UG 0 0 0 wlan0


It would be interesting to see which ip address you gave to the Wireless.
ifconfig wlan0 should show something usefull. My reading of this is that
your wireless is quite confused and doesn't know which ip to get.

Davide

--
Well, BackOffice is what Microsoft laughingly call an I-commerce/intranet
package. Think of IIS. Now get yourself out of the fetal position, and
think of IIS doing not just web and FTP, but mail, remote admin, file
sharing, secure transactions... --Joe Thompson
 
Reply With Quote
 
Julian Bessenroth
Guest
Posts: n/a

 
      05-24-2005, 06:52 PM
Davide Bianchi wrote:

> It would be interesting to see which ip address you gave to the Wireless.
> ifconfig wlan0 should show something usefull. My reading of this is that
> your wireless is quite confused and doesn't know which ip to get.


So far as my knowledge allows: I'm quite sure the ip is ok. DHCP is
working much faster with wlan as it does with lan.

The router ip: 192.168.178.1

moskito:/home/modr # ifconfig wlan0
wlan0 Protokoll:Ethernet Hardware Adresse 00:90:4B:67:61:B8
inet Adresse:192.168.178.25 Bcast:192.168.178.255
Maske:255.255.255.0
inet6 Adresse: fe80::290:4bff:fe67:61b8/64
Gültigkeitsbereich:Verbindung
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:77 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:1000
RX bytes:5988 (5.8 Kb) TX bytes:2064 (2.0 Kb)
Interrupt:11 Speicher:faffc000-faffdfff


and iwconfig says:

moskito:/home/modr # iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"Webtechnics" Nickname:"moskito"
Mode:Managed Frequency:2.462GHz Access Point: 00:01:E3:41:6B:E3
Bit Rate=54Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx Security
mode:restricted
Power Managementff
Link Quality:100/100 Signal level:-61 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:190 Missed beacon:0
--------------------------------------------------------------------

I've no idea where to look any further. Sometimes i think it has
somthing to do with SuSE and/or me. I usually get probs often reportet
but can't be solved in the described manner.

But I still have hope an never give up!

TIA

Julian
 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      05-24-2005, 07:13 PM
On 2005-05-24, Julian Bessenroth <(E-Mail Removed)> wrote:
> The router ip: 192.168.178.1


Can you ping the router through the Wireless?
Does your Access Point have an IP? Can you ping it? Can you
see (through the Access Point's interface) your Wireless card
connected ?

> wlan0 IEEE 802.11g ESSID:"Webtechnics" Nickname:"moskito"
> Link Quality:100/100


This is quite strange, I've never saw 100/100 of quality...

Indeed, it seems that your link is Ok.

Davide

--
Linux: Where Don't We Want To Go Today?
 
Reply With Quote
 
Julian Bessenroth
Guest
Posts: n/a

 
      05-24-2005, 07:50 PM
Davide Bianchi wrote:

> Can you ping the router through the Wireless?
> Does your Access Point have an IP? Can you ping it? Can you
> see (through the Access Point's interface) your Wireless card
> connected ?


Yes I can. No percent package loss. A can also transfer data from an to
every pc pluged to the lan/wlan.

>>wlan0 IEEE 802.11g ESSID:"Webtechnics" Nickname:"moskito"
>> Link Quality:100/100

> This is quite strange, I've never saw 100/100 of quality...


Doesn't it mean 100% (100 of 100). I'm quite close to the
AP/Router/Switch combo/device. I've got several WinXP (wlan and lan) pcs
in the intranet. Every computer can access the intranet as well as the
internet.

Any idea? Or do you know any other adress where to ask.


TIA Julian
 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      05-25-2005, 05:02 AM
On 2005-05-24, Julian Bessenroth <(E-Mail Removed)> wrote:
> Doesn't it mean 100% (100 of 100).


Yes, and I'v never saw such ratio, even if I'm 5 meters away from
the AP. Anyway, if you can ping the router and the AP, I'd say that
your card is functioning properly.

At this point you should be able to ping an address on the internet
and see a response, if you don't see a response I think that the problem
isn't in the card but maybe along the way.

Start with a ping to a well-known address (like www.microsoft.com),
you should get a) an IP address for the target and b) a response.
If you can't get an IP for the destination check the configuration of
your DNS. Also, check if you have a firewall that allows eth0 but
block wlan0.

tcpdump could also be used to see if you get an answer from the destination
machine at all or not.

Davide

--
New screensaver released: Curtains for Windows.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed locating driver for ACER WLAN 11g USB Dongle (WLAN-G-US1) Chris Mitchell Wireless Networks 5 12-26-2007 04:48 PM
Is there any way we would be able to detect which devices/laptops in a wlan are using 802.11b & which are using 802.11g cards? 802.11b clients in 802.11g wlan avirup_dasgupta@indiatimes.com Wireless Internet 6 09-20-2005 04:33 PM
Gateway M1300 TabletPC & Linksys WRT54G: WLAN Connection Drops David Lipetz Wireless Networks 2 08-26-2004 02:22 PM
About gateway from WLAN to LAN Angelot Wireless Internet 0 10-12-2003 01:33 PM
Compiling wlan wlan-ng-0.2.1-pre9 on Redhat 8 kernel patch 2.4.20-20.8 thwbecker Linux Networking 1 09-09-2003 09:37 AM



1 2 3 4 5 6 7 8 9 10 11