LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-12-2003, 10:48 PM   #1
isone
LQ Newbie
 
Registered: Oct 2003
Location: Malaysia
Distribution: Redhat 9.0
Posts: 17

Rep: Reputation: 0
USB Wireless Adapter


Hi,
I am a complete Linux newbie and need help installing my wireless network. I'm using Redhat 9 and have a D-link DWL 120 usb card. I know that there is a way to install this card, but cannot understand the instructions that I have read. Getting Linux up and running on my Athlon 2000+ box was an achievement in itself, I need help now to finish the job. Please be gentle, I have no experience of programming! Hope somebody can give me a "How To : Step by Step" answer.
 
Old 12-13-2003, 03:06 AM   #2
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
Lucky for you, I recently installed a usb card which uses the same driver, so I know what to do .

0) Unplug it.
1) Go to: http://at76c503a.berlios.de/ and get the driver.
2) Extract it and run make, then make install.
3) Reboot.
4) Plug it in. If everything is sucessful, it will be registered as wlan0
5) Run iwconfig wlan0 essid GOESHERE channel # mode managed, and fill in acording to your wireless lan settings.
6) Run ifconfig wlan0 192.168.0.254, or what ever the ip address should be.
7) If you are running a dhcp server, run dhclient wlan0 (or dhcpcd).

And you should be ready... If you want directions on how to make it run at boot time, let us know.
 
Old 12-17-2003, 11:56 AM   #3
isone
LQ Newbie
 
Registered: Oct 2003
Location: Malaysia
Distribution: Redhat 9.0
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you Guru3 for ur help,
Your suggestion has solved the driver installation problem. It has registered as wlan0. but i still have problem for dhclient. There is a dhcp server in my network but it doesnt assign an ip to my pc after i type 'dhclient wlan0'. The message that i have got since after the installation is here :

[root@localhost root]# iwconfig wlan0 mode ad-hoc essid my_wlan
[root@localhost root]#
[root@localhost root]# ifconfig wlan0 10.10.10.10
[root@localhost root]# ping 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.309 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.036 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.036 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.036 ms
64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.039 ms



--- 10.10.10.10 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3996ms
rtt min/avg/max/mdev = 0.036/0.091/0.309/0.109 ms
[root@localhost root]#


[root@localhost root]# dhclient wlan0
Internet Software Consortium DHCP Client V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP



/sbin/dhclient-script: configuration for wlan0 not found.
Listening on LPF/wlan0/00:05:5d:93:11:b0
Sending on LPF/wlan0/00:05:5d:93:11:b0
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
/sbin/dhclient-script: configuration for wlan0 not found.
[root@localhost root]#

Now i'm windows and my connection status is :
IP address : 172.16.1.19
Subnet Mask : 255.255.0.0
Default Gateway : 172.16.1.1

what should i do to make it work in linux?
 
Old 12-17-2003, 12:41 PM   #4
Guru3
Member
 
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360

Rep: Reputation: 31
Find another dhcp program called dhcpcd. You can get it here: ftp://rpmfind.net/linux/redhat/7.3/e...pl1-7.i386.rpm. Install that rpm with rpm -ivh dhcpcd-1.3.22pl1-7.i386.rpm and then run dhcpcd wlan0 and you should be set to go.
 
  


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
USB Wireless G Adapter rodm13 Slackware 3 11-16-2005 04:46 AM
Wireless Usb Adapter Joshwaaa Linux - Wireless Networking 4 10-20-2004 07:46 AM
DWL-122 USB Wireless USB adapter Suse 9.1? hal_casteel Linux - Wireless Networking 3 08-03-2004 08:13 AM
Wireless Usb Adapter!!! xMyStiCx Linux - Hardware 16 10-20-2003 03:49 PM
usb wireless adapter pfoh Linux - Hardware 0 08-26-2003 01:53 PM


All times are GMT -5. The time now is 11:52 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration