Networking Forums

Networking Forums > Computer Networking > Linux Networking > Configure wireless network card -- driver already running

Reply
Thread Tools Display Modes

Configure wireless network card -- driver already running

 
 
=?ISO-8859-15?Q?Daniel_B=F6hmer?=
Guest
Posts: n/a

 
      10-08-2005, 02:02 PM
Hello NG,
it's me again and this time my WLAN is running fine. Thanks to
Ndiswrapper I got it working. Unfortunetely I don't know how to
configure it, because it was created it by Ndiswrapper and so automatic
setup was run.

I will explain my network to you: I've got a router with a DHCP server.
Its internal IP is 192.168.2.100. Under Windows DHCP is running, no MAC
filtering or connection problems. I would like Debian Linux (2.6 kernel)
to use DHCP the same way. Everything is done by wlan0, no cable on eth0.

I hope these information are everything you need to help me. Please tell
me how to get DHCP client working that I can go surfing the web and so on.

Daniel Böhmer, Germany
 
Reply With Quote
 
 
 
 
Giovanni
Guest
Posts: n/a

 
      10-08-2005, 04:12 PM
On 10/08/05 16:02, Daniel Böhmer wrote:

> I will explain my network to you: I've got a router with a DHCP server.
> Its internal IP is 192.168.2.100. Under Windows DHCP is running, no MAC
> filtering or connection problems. I would like Debian Linux (2.6 kernel)
> to use DHCP the same way. Everything is done by wlan0, no cable on eth0.
>
> I hope these information are everything you need to help me. Please tell
> me how to get DHCP client working that I can go surfing the web and so on.
>
> Daniel Böhmer, Germany


Usually you should use dhcpcd to get the IP address. But where to use
it depends on your distribution.

Anyway 'man dhcpcd' will help to set the right options.

Ciao
Giovanni
--
A computer is like an air conditioner,
it stops working when you open Windows.
Registered Linux user #337974 <http://counter.li.org/>
 
Reply With Quote
 
=?ISO-8859-15?Q?Daniel_B=F6hmer?=
Guest
Posts: n/a

 
      10-09-2005, 12:49 PM
Hello Giovanni,
I read man dhclient, because this is the tool my system has installed.

The dhclient is now running but gets no IP adress. The output looks
similar to the following:

DHCPDISCOVER [...] on port 67 interval xx

while xx is a increasing number with range from 1 to about 60 at the
point of timeout.

Why there isn't any DHCP offer? The DHCP server running on the router
should send an offer to my client. I couldn't find out, if I have to
write anything into dhclient.conf to get it working.

Please help me!

Daniel


Giovanni schrieb:
> On 10/08/05 16:02, Daniel Böhmer wrote:
>
>> I will explain my network to you: I've got a router with a DHCP
>> server. Its internal IP is 192.168.2.100. Under Windows DHCP is
>> running, no MAC filtering or connection problems. I would like Debian
>> Linux (2.6 kernel) to use DHCP the same way. Everything is done by
>> wlan0, no cable on eth0.
>>
>> I hope these information are everything you need to help me. Please
>> tell me how to get DHCP client working that I can go surfing the web
>> and so on.
>>
>> Daniel Böhmer, Germany

>
>
> Usually you should use dhcpcd to get the IP address. But where to use
> it depends on your distribution.
>
> Anyway 'man dhcpcd' will help to set the right options.
>
> Ciao
> Giovanni

 
Reply With Quote
 
=?ISO-8859-15?Q?Daniel_B=F6hmer?=
Guest
Posts: n/a

 
      10-09-2005, 02:35 PM
Hello,
it's me again. I wanted to get some new information for debugging and
therefor I tried to change my network card's configuration to static IP.
This is working with my router on another machine.

But when I typed in "ifconfig wlan0 subnetmask 255.255.255" there
occured an error saying:

wlan0: Host name lookup failure

I can't understand this! I didn't write an domain name but an IP adress.
Also I was trying to set up the network not connecting to any server in
particular.

I hope there's someone out there who knows what's going on with my NIC.
Please aks if you need any more information. Special thanks to Giovanni.
He helped my several times in the past.

Daniel
 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      10-09-2005, 02:36 PM
Daniel Böhmer wrote:
> Hello Giovanni,
> I read man dhclient, because this is the tool my system has installed.
>
> The dhclient is now running but gets no IP adress. The output looks
> similar to the following:
>
> DHCPDISCOVER [...] on port 67 interval xx
>
> while xx is a increasing number with range from 1 to about 60 at the
> point of timeout.
>
> Why there isn't any DHCP offer? The DHCP server running on the router
> should send an offer to my client. I couldn't find out, if I have to
> write anything into dhclient.conf to get it working.
>


Check thet there are no firewall rules blocking UDP ports
67 and 68 for the WLAN card.

This check applies to bothe the Linux box and the WLAN access point
+ DHCP server.

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      10-09-2005, 03:49 PM
=?ISO-8859-15?Q?Daniel_B=F6hmer?= <(E-Mail Removed)> writes:

>Hello,
>it's me again. I wanted to get some new information for debugging and
>therefor I tried to change my network card's configuration to static IP.
>This is working with my router on another machine.


>But when I typed in "ifconfig wlan0 subnetmask 255.255.255" there
>occured an error saying:


>wlan0: Host name lookup failure


In your command, subnetmask is taken to be a hostname, since there exists
no option to ifconfig called subnetmask.
You seen to have typed things in at random, since 255.255.255 is also not a
mask ( a mask has four octets, not three).


>I can't understand this! I didn't write an domain name but an IP adress.
>Also I was trying to set up the network not connecting to any server in
>particular.


No you did not. There is no ip address in your command.


>I hope there's someone out there who knows what's going on with my NIC.
>Please aks if you need any more information. Special thanks to Giovanni.
>He helped my several times in the past.


Nothing is going on with your NIC.

If you want to set up an ip address for an interface

ifconfig interface ipaddress netmask 255.255.255.0
 
Reply With Quote
 
=?ISO-8859-15?Q?Daniel_B=F6hmer?=
Guest
Posts: n/a

 
      10-09-2005, 04:50 PM
Thank you so far!

I figured out how use route and established to routes:

Destination Gateway Genmask
192.168.2.0 * 255.255.255.0
default 192.168.2.1 [don't know]

I hope the genmask is not necessary for this, because I don't remember
now. I had to boot Windows for writing this.

Unfortunetely I still can't connect to everything, neither the router
(has got a web interface) nor to any other internet server. Also a ping
to the router failes. But the wireless connection to the router is
established. I run ifconfig wlan0 up and didn't see any outputs but I
think that should work now. IP adress and netmask are shown correctly.
So where is the problem?

By the way I take it my NIC hasn't got any DNS servers. So it won't be
able to lookup www.google.com and other hosts. Would you like to tell me
how to set up this?

Thank you for helping me
Daniel
 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      10-09-2005, 09:29 PM
=?ISO-8859-15?Q?Daniel_B=F6hmer?= <(E-Mail Removed)> writes:

>Thank you so far!


>I figured out how use route and established to routes:


>Destination Gateway Genmask
>192.168.2.0 * 255.255.255.0
>default 192.168.2.1 [don't know]


default is almost always 0.0.0.0
Ie, it matches all addresses.

(It would not be all zeros only in some very special circumstances.)




>I hope the genmask is not necessary for this, because I don't remember
>now. I had to boot Windows for writing this.


>Unfortunetely I still can't connect to everything, neither the router
>(has got a web interface) nor to any other internet server. Also a ping
>to the router failes. But the wireless connection to the router is
>established. I run ifconfig wlan0 up and didn't see any outputs but I
>think that should work now. IP adress and netmask are shown correctly.
>So where is the problem?


How can we know. Not enough information. For example routers are almost
never on the 192.168.2 subnet. They are almost always on .0 or .1
What is your router's IP address? Look it up in your manual.



>By the way I take it my NIC hasn't got any DNS servers. So it won't be
>able to lookup www.google.com and other hosts. Would you like to tell me
>how to set up this?


It will ship off any dns requests to the host on the other side (your adsl
provider) who provided it with a dns server address when it also provided
your router with an IP address.



>Thank you for helping me
>Daniel

 
Reply With Quote
 
=?ISO-8859-15?Q?Daniel_B=F6hmer?=
Guest
Posts: n/a

 
      10-10-2005, 11:06 AM
The router's IP adress is 192.168.2.1.

| default is almost always 0.0.0.0 Ie, it matches all addresses. (It
| would not be all zeros only in some very special circumstances.)

Sorry, I can't understand this. Do you mean I should check if the
netmask for default is 0.0.0.0 or just that "default" equals 0.0.0.0?

Yes, there is a DNS server received by the router. I can get it via the
web interface. I could take these servers. But how to tell the card?
 
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
how to configure USB network card shrini Linux Networking 2 09-21-2006 03:44 PM
Configure DLink Network card on Fedora Core 4 lekkie.aydot@gmail.com Linux Networking 0 06-28-2006 01:40 PM
Anyone know how to install and configure an Orinoco wireless card on Fedora? Tory Brown Wireless Internet 0 12-17-2004 02:54 AM
Network card driver Mainlander Linux Networking 1 02-18-2004 07:02 AM
Pb to configure my wireless card ! jean-marie dominique n'da Wireless Internet 0 09-15-2003 06:24 PM



1 2 3 4 5 6 7 8 9 10 11