LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-05-2006, 03:12 PM   #1
sergoint
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Rep: Reputation: 0
Newbie have problems with WI-FI configuration


hi all, this is my first question in this forum)
I am a BIG Newbie in linux so please help me to learn/understand what i can do.

so, i have router 3Com configured (i can surf in XP)
i have Wi-Fi EDIMAX ew7318Ug (usb connection)
I'm Working on SUSE 10.0
i installed the usb wifi so i can see it in the network devices.
i tryed to configure it in yast, but it seems that is not helping me because i can't surf.
what are the steps to make it work??
Thanks for all))
 
Old 10-07-2006, 09:41 AM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Can you ping anything?

Post the output of the following:
ifconfig, iwconfig, lsmod and lsusb
 
Old 10-11-2006, 12:31 PM   #3
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Let me guess... you have wpa tkip encryption set on your wireless router???

You need to install and configure wpa_supplicant. WPA-Supplicant is normally supplied with the SuSE distibutions, but there is no useful tool for configuring it. You may want to look at adding apt4rpm so you can use apt-get to install the wpa_supplicant and also apt-get a tool for help setting up kernel modules... I can't remember the name of it off-hand. Alternatively, you can search high and low for the step by step procedures of setting up wpa_supplicant by hand... not a very user friendly process...

The alternative is to look at Kubuntu... and install some of the wpa configuration and setup tools found in the universal repositories... I think you'd be much happier...

The only problem is Kubuntu's security model isn't the same as SuSE. Kubuntu by default sets up one user as an admin who can use sudo, and sets the root password the same... very, very bad security. Also, the installer tends to notproperly set up pre-configured /home partitions that you want to keep (not formatting them, just asking kubuntu to start using them as its /home partition).
 
Old 10-13-2006, 06:51 AM   #4
sergoint
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
hi again.
there is some movement:
1. when i used yast to configure the wi fi after i finished'i can't
see the rausb0 in ifconfig
2. when i using ifconfig to startup the device i get a link but can't surf.
3. i can send a ping to the rauter
4. a router don't have any encryption
5. there is the output from ifconfig,iwconfig

rausb0 Link encap:Ethernet HWaddr 00:0E:2E:85:BA:BC
inet addr:192.168.1.64 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20e:2eff:fe85:babc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:499264 (487.5 Kb) TX bytes:13204 (12.8 Kb)
linux:~/RT73_Linux_STA_Drv1.0.3.6/Module # iwconfig
lo no wireless extensions.

sit0 no wireless extensions.

eth0 no wireless extensions.

rausb0 RT73 WLAN ESSID:"3Com"
Mode:Managed Frequency=11 MHz Access Point: 00:14:7C:B6:1D:C4
Bit Rate=54 Mb/s
RTS thrff Fragment thrff
Encryption keyff
Link Quality=77/100 Signal level:-60 dBm Noise level:-99 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


the fany thing is i have a connection, i can see the router, it shows me the strength and speed but i can't surf.
any ideas?
 
Old 10-13-2006, 07:40 AM   #5
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
Are you able to ping the router?
And did you edit your /etc/resolv.conf?

In your /etc/resolv.conf should be the line:

nameserver IP_of_your_gateway(router)

e.g. nameserver 192.168.1.1

Fluxx.
 
Old 10-14-2006, 12:35 AM   #6
sergoint
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i can ping to my router
how can i configure the /etc/resolv.conf??
 
Old 10-14-2006, 12:56 AM   #7
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
From what you've posted, you have a driver loaded, the card is operating and is associated with the wireless router - all good.

What you lack is DNS information. Normally, /etc/resolv.conf is populated with the DNS server info supplied by the router when the client pulls an IP address. (I assume you manually set the IP address.)

You can get the DNS information from your service provider or, probably, from your router. Here's an example of how it should look (at least for my ISP):
search oc.cox.net
nameserver 68.4.16.30
nameserver 68.4.16.25
nameserver 68.6.16.30

Alternatively, you can use DHCP to obtain an IP and all should be well. On SuSE, I think the command would be dhclient rausb0.
 
Old 10-14-2006, 04:09 AM   #8
sergoint
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
when i start suse the rausb0 is not loaded
and i need to that: insmod rt73.ko
and after that: ifconfig rausb0 inet 192.168.1.65 up

how can i change the resolv.conf file?
how can i set dns? check the info of dns?
 
Old 10-14-2006, 06:37 AM   #9
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
Here the script with which I start my RT73 usb wireless dongle:

Code:
#!/bin/bash
/sbin/ifconfig eth0 down
/sbin/iwconfig rausb0 mode managed
/sbin/iwpriv rausb0 set NetworkType=Infra
/sbin/iwpriv rausb0 set AuthMode=WPA2PSK
/sbin/iwpriv rausb0 set EncrypType=AES
/sbin/iwpriv rausb0 set SSID="my_essid"
/sbin/iwpriv rausb0 set WPAPSK="my_key"
/sbin/iwpriv rausb0 set SSID="my_essid"
/sbin/ifconfig rausb0 192.168.1.6 up
/sbin/route add default gateway 192.168.1.1
echo nameserver 192.168.1.1 >> /etc/resolv.conf
/sbin/iwconfig rausb0 rts 1401
/sbin/iwconfig rausb0 frag 1400
Try these steps one after the other and check what happens. You can leave out the steps concerning WPA2 encryption.

Fluxx.
 
Old 10-15-2006, 06:50 AM   #10
sergoint
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i tryed to configure like you say. when i send a ping to web site
it took more time but the the answer was the same: unknown host
 
Old 10-15-2006, 07:34 AM   #11
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
You are able to ping your router?

And the nameserver in /etc/resolv.conf is the same IP like your router (default gateway)?

Fluxx.
 
Old 10-15-2006, 09:26 AM   #12
sergoint
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i can ping my router.
i don't no how to check/configure resolv.conf file
 
Old 10-15-2006, 09:44 AM   #13
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
It's a text file, like most Linux configuration files. Edit it with your favorite editor.
 
Old 10-15-2006, 02:15 PM   #14
sergoint
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
i have tried to open it via vi but it shows me like blank file
and i'm not shure is it a right.
if it is so i just need to insert there :
nameserver IP_of_your_gateway(router)


other thing is : my router don't have a dns or wpia supplicant
 
Old 11-06-2006, 02:18 AM   #15
sergoint
LQ Newbie
 
Registered: Sep 2006
Posts: 8

Original Poster
Rep: Reputation: 0
hi all,
finally i finded a solution
after making all the staff that was wrote in readme file
i rebooted vance again and did the following:

cd /root/<rt73 ....>/Module
insmod rt73.ko
ifconfig rausb0 inet up
iwconfig rausb0 ESSID "3Com" (my router name)
dhcpcd rausb0

and it's works!!! )))))))))))))))

but, i need to make it run automatically when linux starts.
how can i do it???
thanks for all)))
 
  


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
Newbie Configuration of Apache Server tspeicher Linux - Newbie 26 05-06-2005 12:41 AM
Sendmail configuration problem (newbie) mastyle Linux - Software 3 03-11-2005 04:52 PM
Newbie - cannot restart (after modem configuration) deema Linux - Networking 4 09-16-2003 02:25 AM
Newbie needs help on IP configuration sunny Linux - Networking 2 05-03-2002 02:54 PM
LAN Configuration-Newbie here zukester Linux - Networking 24 07-13-2001 12:50 AM

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

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