Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

wifi help

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
gehzumteufel
n00b
n00b
Posts: 15
Joined: Sun May 27, 2007 7:03 pm

wifi help

  • Quote

Post by gehzumteufel » Fri Sep 10, 2010 6:36 am

I have been searching, and haven't succeeded yet. Tried some things from a few different threads on here to no avail.

I can get the card to scan, but I can't get wpa_supplicant to connect. It appears that it may be a dhcp issue, because in dmesg I get:

Code: Select all

[  442.498015] eth1: no IPv6 routers present
I am still a n00b though and am probably doing something wrong.

Here are some of the things that may be of use. I hope anyway.

Code: Select all

$ lsmod
Module                  Size  Used by
fuse                   57643  2 
nvidia              11060389  56 
firewire_ohci          20361  0 
lib80211_crypt_tkip     7646  0 
wl                   1942604  0 
firewire_core          43008  1 firewire_ohci
snd_ctxfi              80436  1

Code: Select all

$ cat /etc/wpa_supplicant/wpa_supplicant.conf 
ctrl_interface=/var/run/wpa_supplicant 
ctrl_interface_group=wheel 
ap_scan=0 
#update_config=1 

network={ 
   ssid="mynetworkname"
   psk="mypassword"
   proto=WPA2 
   key_mgmt=WPA-PSK 
   pairwise=CCMP 
   group=CCMP 
   priority=5 
}

Code: Select all

$ sudo ifconfig
eth1      Link encap:Ethernet  HWaddr 00:1d:7e:0c:7c:2e  
          inet6 addr: fe80::21d:7eff:fe0c:7c2e/64 Scope:Link
          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:18 Base address:0x4000 

Code: Select all

05:0a.0 Network controller [0280]: Broadcom Corporation BCM43XG [14e4:4329] (rev 01)
Top
cach0rr0
Bodhisattva
Bodhisattva
User avatar
Posts: 4123
Joined: Thu Nov 13, 2008 11:14 pm
Location: Houston, Republic of Texas

  • Quote

Post by cach0rr0 » Fri Sep 10, 2010 6:41 am

just to check the obvious

if you cat /proc/net/wireless, is eth1 correct? (I've only seen that with ipw2200)

assuming it is, try running this on the command-line as root, and post the results:

Code: Select all

wpa_supplicant -Dwext -i eth1 -c  /etc/wpa_supplicant/wpa_supplicant.conf
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Top
gehzumteufel
n00b
n00b
Posts: 15
Joined: Sun May 27, 2007 7:03 pm

  • Quote

Post by gehzumteufel » Fri Sep 10, 2010 6:46 am

cach0rr0 wrote:just to check the obvious

if you cat /proc/net/wireless, is eth1 correct? (I've only seen that with ipw2200)

assuming it is, try running this on the command-line as root, and post the results:

Code: Select all

wpa_supplicant -Dwext -i eth1 -c  /etc/wpa_supplicant/wpa_supplicant.conf
Thanks for asking, but yes it is correct.

Code: Select all

Inter-| sta-|   Quality        |   Discarded packets               | Missed | WE
 face | tus | link level noise |  nwid  crypt   frag  retry   misc | beacon | 22
  eth1: 0000    5.  -256.  -90.       0      0      0      0      0        0
When I run that command via sudo:

Code: Select all

ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/eth1' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.
I should also mention, that I added it to startup. So that could have something to do with that?
Top
cach0rr0
Bodhisattva
Bodhisattva
User avatar
Posts: 4123
Joined: Thu Nov 13, 2008 11:14 pm
Location: Houston, Republic of Texas

  • Quote

Post by cach0rr0 » Fri Sep 10, 2010 6:54 am

gehzumteufel wrote: I should also mention, that I added it to startup. So that could have something to do with that?
correct. Either stop it, or nuke it from startup and reboot, then let us have a gander at the command line output

if it associates/authenticates successfully, the problem is further down the line (likely related to this? https://bugs.gentoo.org/show_bug.cgi?id=334341)
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Top
gehzumteufel
n00b
n00b
Posts: 15
Joined: Sun May 27, 2007 7:03 pm

  • Quote

Post by gehzumteufel » Fri Sep 10, 2010 6:57 am

cach0rr0 wrote:
gehzumteufel wrote: I should also mention, that I added it to startup. So that could have something to do with that?
correct. Either stop it, or nuke it from startup and reboot, then let us have a gander at the command line output

if it associates/authenticates successfully, the problem is further down the line (likely related to this? https://bugs.gentoo.org/show_bug.cgi?id=334341)
This is going to be an absolute n00b question, but how can I nuke it and/or remove from startup? lol /retard
Top
cach0rr0
Bodhisattva
Bodhisattva
User avatar
Posts: 4123
Joined: Thu Nov 13, 2008 11:14 pm
Location: Houston, Republic of Texas

  • Quote

Post by cach0rr0 » Fri Sep 10, 2010 7:07 am

no worries, I'm probably giving a n00b answer instead of a correct one :)

killall -9 wpa_supplicant
then remove the eth1 file from /var/run/wpa_supplicant

(there's probably a correct way to do it, but that seems quickest/easiest)
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Top
gehzumteufel
n00b
n00b
Posts: 15
Joined: Sun May 27, 2007 7:03 pm

  • Quote

Post by gehzumteufel » Fri Sep 10, 2010 7:10 am

Okay I re-ran the command and it is just sitting at the next line. I presume it is waiting for it to close, but since this is just the command line utility, it doesn't have anything I can close...
Top
Post Reply

7 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic