Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Wireless card problems with DHCP and WEP< Next Oldest | Next Newest >
bigpilot Offline





Group: Members
Posts: 43
Joined: Jan. 2006
Posted: April 12 2006,16:12 QUOTE

I have a RT2500 wireless card for which I compiled a module and which seems to work fine. Problem is: I still can't connect to the ADSL router and my card isn't receiving any IP address, somehow the DHCP isn't working. When I do 'ifconfig' the 'ra0' card doesn't show an IP address. There is a bytecount for the 'RX bytes' and 'TX bytes' so something seems to be happening.

I've set my ESSID, (wep)key and channel manually through 'iwconfig' but nothing seems to happen, no IP address is acquired.

Any idea why my card can't acquire an IP address?
Back to top
Profile PM 
bigpilot Offline





Group: Members
Posts: 43
Joined: Jan. 2006
Posted: April 12 2006,18:47 QUOTE

I have a feeling there's something fishy going on here. When I type in the command:

ifup ra0

I get:

Ifup: ignoring unknown interface ra0

When you load a network card driver module, should a interface automatically appear (ra0 in my case)? I think I added mine by doing:

ifconfig ra0 up

It didn't really appear by itself.
Back to top
Profile PM 
bigpilot Offline





Group: Members
Posts: 43
Joined: Jan. 2006
Posted: April 12 2006,20:00 QUOTE

Ok, i'm starting to figure this out now. There are actually TWO ways in Linux to get it working, and I only have partial knowledge of each:

1) one can issue a 'ifconfig ra0 up' command which will add the interface to the system. It will only work if there's a network driver loaded with the right 'alias' in it (for example 'eth0' or 'ra0'). So if this command works, then you have a valid network driver loaded.

Now this is where my knowledge ends since I don't know how to get the card to get a DHCP address from a server using 'ifconfig' commands. Anyone know this?!

2) You can use the 'ifup ra0' and 'ifdown ra0' commands but before you do this you first need to add the 'ra0' interface to the
/etc/network/interfaces file.

Thing is, since it's a wireless card I'm configuring, I also need to add the essid, channel and wepkey somewhere but I don't know in WHICH files? Anyone know?
Back to top
Profile PM 
2 replies since April 12 2006,16:12 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Wireless card problems with DHCP and WEP

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code