LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-17-2010, 02:41 PM   #46
RealGomer
Member
 
Registered: Dec 2003
Posts: 70

Original Poster
Rep: Reputation: 16

I ran a couple commands I found on the wireless networking sub-thread as well:

red@Homebrew:~$ lsusb #
Bus 003 Device 002: ID 046d:c01b Logitech, Inc. MX310 Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 148f:3070 Ralink Technology, Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

red@Homebrew:~$ ifconfig wlan0 up
SIOCSIFFLAGS: Permission denied
 
Old 08-17-2010, 07:49 PM   #47
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Did you ever install the firmware for the card? The ifconfig command should be run as root, su, or sudo.

Good luck. ;-)
 
Old 08-18-2010, 01:49 AM   #48
RealGomer
Member
 
Registered: Dec 2003
Posts: 70

Original Poster
Rep: Reputation: 16
Not a card but a usb dongle. There is no firmware. I tried to open the rt2780.bin file that came with it but nothing happened. I kept getting error messages. Should the rt2780.usb file NOT be blacklisted and the rt2780.sta BE blacklisted?
 
Old 08-18-2010, 07:51 PM   #49
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
At this point, we should probably start from the beginning. Do a clean reboot, then plug in the adapter and post the output from the following.

Code:
$ sudo ifconfig -a
$ sudo iwconfig
$ sudo lsmod | grep rt
$ ls /etc/Wireless
$ cat /etc/modprobe.d/blacklist
$ cat /etc/network/interfaces
$ cat /etc/resolv.conf
There are some Debian specific help here as well.

http://wiki.debian.org/rt2870sta

Good luck. ;-)
 
Old 08-19-2010, 11:01 AM   #50
RealGomer
Member
 
Registered: Dec 2003
Posts: 70

Original Poster
Rep: Reputation: 16
Here are the results. I'm using the eth0 connection to write this.

red@Homebrew:~$ sudo ifconfig -a
[sudo] password for red:
eth0 Link encap:Ethernet HWaddr 00:0d:61:68:d7:81
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 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:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:19

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:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:960 (960.0 B) TX bytes:960 (960.0 B)

wlan0 Link encap:Ethernet HWaddr 00:08:10:74:c7:c4
inet6 addr: fe80::208:10ff:fe74:c7c4/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1037 errors:0 dropped:0 overruns:0 frame:0
TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:188630 (188.6 KB) TX bytes:8396 (8.3 KB)

red@Homebrew:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 RTxx70 Wireless ESSID:"" Nickname:"RT3070STA"
Mode:Auto Frequency=2.452 GHz Access Point: 00:24:01:6F:DA:F1
Bit Rate=1 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=10/100 Signal level:-17 dBm Noise level:-97 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

red@Homebrew:~$ sudo lsmod | grep rt
rt2870sta 461811 1
gameport 9089 2 ns558
parport_pc 25962 1
agpgart 31724 3 ttm,drm,amd64_agp
parport 32635 3 ppdev,parport_pc,lp

red@Homebrew:~$ ls /etc/Wireless
ls: cannot access /etc/Wireless: No such file or directory
red@Homebrew:~$ cat /etc/modprobe.d/blacklist
cat: /etc/modprobe.d/blacklist: No such file or directory

red@Homebrew:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

red@Homebrew:~$ cat /etc/resolv.conf
# Generated by NetworkManager
red@Homebrew:~$

Hmm.. No /etc/Wireless or /etc/modprobe.d/blacklist directories, but there is a file blacklist.conf, here are its contents:

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801

# replaced by p54pci
blacklist prism54

# replaced by b43 and ssb.
blacklist bcm43xx

# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps

# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi

# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp

# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr

# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac

#To not load second module for USB wireless-n dongle
blacklist rt2800usb
blacklist rt2x00usb
blacklist rt2x00lib

Curiouser & curiouser, said Alice.

Last edited by RealGomer; 08-19-2010 at 11:03 AM. Reason: disabled smilies
 
Old 08-19-2010, 07:44 PM   #51
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
These say you have a wireless interface:

Quote:
wlan0 Link encap:Ethernet HWaddr 00:08:10:74:c7:c4
inet6 addr: fe80::208:10ff:fe74:c7c4/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1037 errors:0 dropped:0 overruns:0 frame:0
TX packets:118 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:188630 (188.6 KB) TX bytes:8396 (8.3 KB)

red@Homebrew:~$ sudo iwconfig
wlan0 RTxx70 Wireless ESSID:"" Nickname:"RT3070STA"
Mode:Auto Frequency=2.452 GHz Access Point: 00:24:01:6FA:F1
Bit Rate=1 Mb/s
RTS thrff Fragment thrff
Encryption keyff
Link Quality=10/100 Signal level:-17 dBm Noise level:-97 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
This tells us the module is in fact loaded:

Quote:
red@Homebrew:~$ sudo lsmod | grep rt
rt2870sta 461811 1
What happens if you issue the following.

Code:
$ sudo dhclient wlan0
Good luck. ;-)

Last edited by Peacedog; 08-19-2010 at 07:44 PM. Reason: Speeling again!#$%*&# ;-)
 
Old 08-20-2010, 09:58 AM   #52
RealGomer
Member
 
Registered: Dec 2003
Posts: 70

Original Poster
Rep: Reputation: 16
Here's the output. Why does it claim no working leases?

red@Homebrew:~$ sudo dhclient wlan0
[sudo] password for red:
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:08:10:74:c7:c4
Sending on LPF/wlan0/00:08:10:74:c7:c4
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
red@Homebrew:~$
 
Old 08-20-2010, 12:56 PM   #53
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Well, we could try a complete association.

Code:
$ sudo iwconfig wlan0 essid "your ap" key "your key"
$ sudo dhclient wlan0
Good luck. ;-)
 
Old 08-20-2010, 02:13 PM   #54
RealGomer
Member
 
Registered: Dec 2003
Posts: 70

Original Poster
Rep: Reputation: 16
Sorry, but this old man doesn't understand the "your ap" reference.
 
Old 08-20-2010, 02:22 PM   #55
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
My apoligies, from one Old Man to another, "your ap" = your access point/router, etc. & "your key" = your WEP key.

Good luck. ;-)
 
Old 08-20-2010, 02:42 PM   #56
RealGomer
Member
 
Registered: Dec 2003
Posts: 70

Original Poster
Rep: Reputation: 16
Okay, I guessed at what was meant. I tried the commands with and without quotes (I replaced the password with the #'s):

red@Homebrew:~$ sudo iwconfig wlan0 essid Trail key ##########
red@Homebrew:~$ sudo dhclient wlan0
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:08:10:74:c7:c4
Sending on LPF/wlan0/00:08:10:74:c7:c4
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

red@Homebrew:~$ sudo iwconfig wlan0 essid "Trail" key "##########"
red@Homebrew:~$ sudo dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 1638
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:08:10:74:c7:c4
Sending on LPF/wlan0/00:08:10:74:c7:c4
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
red@Homebrew:~$

The wireless icon implies it's connected but I can't see the network nor can another PC see Homebrew. The router shows the Homebrew Linux box with IPv4 address as being that of the eth0 connection. I disconnect the Cat5e cable whenever I run the wireless commands and have the usb adapter plugged in.
 
Old 08-20-2010, 02:53 PM   #57
RealGomer
Member
 
Registered: Dec 2003
Posts: 70

Original Poster
Rep: Reputation: 16
The router has a WAN address and a LAN address. Here's the output:

red@Homebrew:~$ sudo iwconfig wlan0 essid "192.168.0.1" key "##########" :LAN
[sudo] password for red:
red@Homebrew:~$ sudo dhclient wlan0
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:08:10:74:c7:c4
Sending on LPF/wlan0/00:08:10:74:c7:c4
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

red@Homebrew:~$ sudo iwconfig wlan0 essid "192.168.200.253" key "##########" :WAN
red@Homebrew:~$ sudo dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 1553
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:08:10:74:c7:c4
Sending on LPF/wlan0/00:08:10:74:c7:c4
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
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.
red@Homebrew:~$

Should it matter the router only has 255.255.255.0 for the subnet?

Last edited by RealGomer; 08-20-2010 at 02:54 PM. Reason: Question on subnet
 
Old 08-20-2010, 03:04 PM   #58
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
The essid is the name of the access point/router, etc. and it doesn't require the quotes. Is Trail the name of your access point or is it RT3070STA?

Good luck. ;-)
 
Old 08-20-2010, 03:25 PM   #59
RealGomer
Member
 
Registered: Dec 2003
Posts: 70

Original Poster
Rep: Reputation: 16
Trail is the networks. RT3070A is the driver for the adapter.
 
Old 08-20-2010, 03:40 PM   #60
RealGomer
Member
 
Registered: Dec 2003
Posts: 70

Original Poster
Rep: Reputation: 16
I just tried using the command with RT3070STA instead of Trail. Same dhclient wlan0 response.
 
  


Reply

Tags
checkinstall, ralink, wireless



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
Can't connect to wireless network ubuntu 10.04 (32 bit) wahfun Linux - Desktop 2 05-26-2010 04:21 AM
unable to connect to my secured wireless network with Ubuntu 9.04 newbie09 Ubuntu 2 11-05-2009 03:05 PM
how should i connect to my wireless network at home in ubuntu 8.10??? learning linux Linux - Newbie 3 08-04-2009 07:30 AM
Cannot connect to wireless network in Ubuntu 9.04 (Jaunty) amac26629 Linux - Hardware 2 07-28-2009 12:10 AM
ubuntu picks up wireless network but will not connect... personalcrusade Linux - Networking 1 03-17-2008 09:46 PM

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

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