LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 08-25-2008, 12:20 AM   #1
Jayceenz
LQ Newbie
 
Registered: Aug 2008
Location: Christchurch, New Zealand
Posts: 9

Rep: Reputation: 0
Linux newbie: No wireless with any distro. How to edit & correct default setups.


Frustrated but still trying. Mandrake 2008 One. Wireless through D-link Air DWL-G122 linking to wifi router DSL-G604T. System all works well on WinXP.
Here are results of queries learned so far. Can anyone decipher for me and give VERY detailed simple suggestions as to fix-up, while I continue to read the Rute tutorial. Really want to convert from MS sys. Cheers Julian
[julian@localhost ~]$ /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 35 0 0 wlan0
10.0.0.0 * 255.0.0.0 U 35 0 0 wlan0
default mygateway.xtra. 0.0.0.0 UG 35 0 0 wlan0
[julian@localhost ~]$ /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:137 errors:0 dropped:0 overruns:0 frame:0
TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:42546 (41.5 KiB) TX bytes:42546 (41.5 KiB)

wlan0 Link encap:Ethernet HWaddr 00:13:46:E9:40:C8
inet addr:10.1.1.3 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::213:46ff:fee9:40c8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:1 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1917 (1.8 KiB) TX bytes:7874 (7.6 KiB)

[julian@localhost ~]$ /sbin/iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11g ESSID:"DLINK" Nickname:"localhost"
Mode:Managed Frequency:2.437 GHz Access Point: 00:0F:3D:FC:95:2C
Bit Rate=54 Mb/s Tx-Power:20 dBm Sensitivity=-117 dBm
RTS thr=2347 B Fragment thr=2346 B
Power Managementff
Link Quality:76/100 Signal level:-47 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

[julian@localhost ~]$

Last edited by Jayceenz; 08-25-2008 at 12:23 AM. Reason: Forgot to paste query results
 
Old 08-25-2008, 01:12 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Well, you have the driver up and running so that's a great start. Now you just need to configure the interface correctly. If your router is using WPA-PSK you will need to install a WPA supplicant.

Unfortunately distros vary wildly on how to configure the interface and they also tend to hack at the wpa supplicant a bit; I only know how to do it on Debian systems. Surely there is a "how to set up wireless WPA PSK on Mandriva" document on the web.

If you use WEP or have an open router (anyone can connect) then I can at least explain how to do it manually.
 
Old 08-25-2008, 01:18 AM   #3
Jayceenz
LQ Newbie
 
Registered: Aug 2008
Location: Christchurch, New Zealand
Posts: 9

Original Poster
Rep: Reputation: 0
Hi there Pinniped. Thank you for replying. I thought I had set up mu router using Open WEP and 24digit key etc. That code shows in the configuration screeen. I still do not yet have an understanding of what this info means or how to fix it. Will go now to the Mandriva site and look for some further info. Cheers Julian
 
Old 08-25-2008, 01:49 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
If the router is open (no passwords), then the following can configure the wlan card:

iwconfig wlan0 essid "your ESsid" mode managed key open

If you have WEP:

iwconfig wlan0 essid "your ESsid" mode managed key s:YourLongASCIIKeyThing

If the IP is assigned by dhcp:

dhclient wlan0

If the IP is assigned statically:

ifconfig wlan0 up 192.168.0.2 netmask 255.255.255.0 (or whatever your IP/netmask are)
route add default gw Your.Gateway.IP (usually the router's IP)

I'm not sure if wlan0 should be UP or DOWN when you do the iwconfig stuff.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 3 Wireless Setups for Ubuntu Gutsy Gibbon LXer Syndicated Linux News 0 11-26-2007 09:50 AM
Best Newbie Distro for Wireless cheekyal Linux - Software 6 01-11-2007 06:30 AM
Does your distro use alsa & dmix by default? acid_kewpie Linux - Distributions 6 05-31-2006 03:30 PM
External HD for Networked Setups with Mandrake 10 & WinXP's james33440 Linux - Networking 2 08-28-2004 12:16 AM


All times are GMT -5. The time now is 05:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration