LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-16-2007, 09:02 PM   #1
crw128
LQ Newbie
 
Registered: Jun 2005
Distribution: Ubuntu 6.06
Posts: 11

Rep: Reputation: 0
Card recognised but how do i connect?


I have a dlink dwl-g520(rev b) running on ubuntu 6.06, i think it is recognised in the device manager and there is also a wireless connection (ath0) in the networking screen. How do i connect to the internet?
 
Old 01-17-2007, 01:03 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
The following works for me for a normal (wired) connection over a normal, wired router.

1. Configure your machine's IP:

/sbin/ifconfig eth0 192.254.255.20 netmask 255.255.255.0 broadcast
192.254.255.255 up

where 192.254.255.20 is the IP address of your machine. Note that the broadcast address must remain in the same form, i. e if your machine's IP is 182.234.255.255 the broadcast becomes 182.254.255.255

2. Create a default route for internet packets:

route add default gw 192.254.255.100 ath0

where your gateway address is substituted at 192.254.255.100 - this is the internal address of my DSL router.

3. Create DNS entries in /etc/rc.local

Edit /etc/rc.local and put the addresses of the DNS servers provided by your ISP in there.

Try to ping, for example, nasa.gov once you've done the above and you are sure your wireless connection itself is up and running.
 
  


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
Broadcom card not recognised? scompa Slackware 4 05-19-2006 05:06 PM
Vid card not being recognised pfusco SUSE / openSUSE 1 05-17-2006 05:46 PM
Ethernet card is not recognised :-( GOGOTS Linux - General 1 08-12-2005 02:09 PM
Nvidia card not recognised? plonking SUSE / openSUSE 2 02-05-2005 04:11 PM
usb2 pci card not recognised seanfitz Linux - Hardware 1 04-07-2004 09:20 AM

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

All times are GMT -5. The time now is 10:03 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