LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2009, 10:15 PM   #1
thejackbox
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Help configuring wlan with Debian


I recently installed a base-install of Debian linux on an old laptop. I have a netgear WG511T wifi pci card, which I was successful in installing the madwifi drivers for. I'm almost certain that the drivers are working fine, because I am able to use my card and scan for wireless networks.

I'm not sure if I'm just setting this up wrong (I'm still new to linux), or if something else is wrong, but my problem is this: I use ifconfig to assign an IP address to wlan0, iwconfig to set the ssid and key, and then I add a route to the gateway
Code:
ifconfig wlan0 192.168.2.138 up
iwconfig wlan0 essid "<My network ssid>" key <My hexadecimal WEP key>
route add default gw 192.168.2.1
After using iwconfig the lights on the card flash in sync, telling me that it should be connected to the network without any problems.
But pinging the gateway, or any other computer on my network, results in each packet returning "Destination Host Unreachable".
I have also already set up my dns in /etc/resolv.conf, not that it should make any difference pinging local IP's.

The most annoying part is that I had this working and connected to the internet earlier today, but for some reason it refuses to work now. So as soon as I figure out how to get it connected, figuring out how to permanently configure it would be favorable =)

Any help would be appreciated - I can post logs of outputs if necessary.
 
Old 02-03-2009, 06:46 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
what is the output of
Code:
ifconfig
iwconfig
 
  


Reply



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
Configuring wlan + DHCP rodrigofariat Linux - Wireless Networking 4 02-08-2008 10:47 AM
WLAN Problem Truemobile 1300 WLAN on Debian 3 with NDISWRAPPER FordPrefect Linux - Laptop and Netbook 2 08-08-2005 10:00 AM
help with configuring my WLAN noamsml Linux - Wireless Networking 2 10-19-2004 03:48 AM
Configuring WLAN for WEP? bene_17 Linux - Wireless Networking 3 05-05-2004 10:54 AM
Help with configuring wlan-ng hobbesmaster Linux - Wireless Networking 25 10-27-2003 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:32 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
Open Source Consulting | Domain Registration