| View previous topic :: View next topic |
| Author |
Message |
bungernut Apprentice


Joined: 24 Jan 2004 Posts: 171
|
Posted: Wed Jul 15, 2009 12:25 am Post subject: NetworkManager wiki request + help: wireless not ready |
|
|
There exist numerous links to a gento wiki (even in these forums) for NetworkManager setup and no wiki exists!
http://forums.gentoo.org/viewtopic-t-710273-highlight-networkmanager+broadcom.html
http://forums.gentoo.org/viewtopic-t-667421-highlight-networkmanager+broadcom.html
I have a general problem as well. My iwconfig sees a wireless device, and my device works fine with a my WEP router at home (at least before I installed this stuff, using the minimal settings in /etc/conf.d/net)
Getting my laptop to work at numerous locations easily however seemed smart to try NetworkManager.
In general I removed net.eth* from default.
Installed NetworkManager from ~arch (yes I know ~, but I needed VPN!)
needed to add to package.keywords
| Code: | net-misc/networkmanager-vpnc
net-misc/networkmanager
gnome-extra/nm-applet
gnome-extra/policykit-gnome
sys-auth/policykit |
restarted D-BUS
Added my user to the profile thingie so could edit settings (sorry dont remember command but it was the command in the emerge info)
NetworkManager correctly detects and managed my LAN here in my office w/ DHCP
The Wireless device is "Not ready"
from the prompt:
| Code: | # iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
eth1 IEEE 802.11abgn ESSID:"csu" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: 00:40:96:45:74:3A
Bit Rate=11 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-55 dBm Noise level=-82 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
cipsec0 no wireless extensions
|
In general with no real documentation that I could find I have no ideas. Please if I need to post anything else.
Wireless Driver is also ~ARCH (the following is in my package.keywords)
| Code: | | net-wireless/broadcom-sta |
Wireless Card Info from lspci:
| Code: | | 02:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01) |
Laptop is HP Pavilion dv2
model# dv2-1030us _________________ Two idiots make a wrong |
|
| Back to top |
|
 |
DawgG Guru


Joined: 17 Sep 2003 Posts: 491
|
Posted: Wed Jul 15, 2009 9:56 am Post subject: |
|
|
| Quote: | | There exist numerous links to a gento wiki (even in these forums) for NetworkManager setup and no wiki exists! |
this wiki DOES exist but a lot of its content was lot due to problems caused by its hoster (you might want to read this: http://en.gentoo-wiki.com/outage-10-08.html ) i think the ppl there have been doing a really great job in recovering or (re)writing (lost) articles.
iwconfig shows that the wirless is set up (connected to the network you want to be connected to?), you just have to give the if an ip-address, either manually with ifconfig or by starting a dhcp-client on it. if it all works the way you desire you put the settings/commands in a script or configfile. i have sometimes had to use | Code: | | ifconfig <wlanif> up | for some cards to "wake them up" prior to using iwconfig to set up the wireless, but i think yours looks good.
if you need/want a different name for the if change/write the udev-rule accordingly.
GOOD LUCK! _________________ DUMM KLICKT GUT. |
|
| Back to top |
|
 |
jsrlepage Tux's lil' helper

Joined: 28 Sep 2003 Posts: 98
|
Posted: Thu Jul 16, 2009 11:01 pm Post subject: |
|
|
That's not the problem.
In my case, I can use a mix of wpa_supplicant and dhclient to connect to my wireless network, but NetworkManager's applet categorically refuses to do anything. _________________ cybikbase::~cybik() |
|
| Back to top |
|
 |
bungernut Apprentice


Joined: 24 Jan 2004 Posts: 171
|
Posted: Fri Jul 17, 2009 12:41 am Post subject: |
|
|
Yes i am sorta confused how NetworkManager is configured. Using the init-script net.eth1 for me the power light on my laptop wont even turn on if the script is running. So disabling it of course created a problem for NetworkManager to figure out how to use the driver or whatever to turn it on. I am indeed online when I restart the init-script which configures the wireless based on only 2 lines in /etc/conf.d/net
modules=( "iwconfig" )
essid_eth1="xxxx"
key_bunghole="xxxxxxxxxx" _________________ Two idiots make a wrong |
|
| Back to top |
|
 |
cach0rr0 Moderator


Joined: 13 Nov 2008 Posts: 3592 Location: Houston, Republic of Texas
|
Posted: Fri Jul 17, 2009 2:50 pm Post subject: |
|
|
i may be way way wrong here, but i didnt think NetworkManager used the net.* init scripts, nor /etc/conf.d/net, nor does it use wpa_supplicant.conf ?
I'll test again when i get home near the laptop, but I think that's the case. |
|
| Back to top |
|
 |
bungernut Apprentice


Joined: 24 Jan 2004 Posts: 171
|
Posted: Wed Jul 22, 2009 9:54 am Post subject: |
|
|
a bump for help _________________ Two idiots make a wrong |
|
| Back to top |
|
 |
bungernut Apprentice


Joined: 24 Jan 2004 Posts: 171
|
Posted: Wed Jul 22, 2009 10:28 am Post subject: |
|
|
# nano /etc/NetworkManager/nm-system-settings.conf
| Code: |
[main]
plugins=keyfile,iwconfig
|
allows me to at least have the power light on without net.eth1 started but the device is still "not ready". _________________ Two idiots make a wrong |
|
| Back to top |
|
 |
Tristanm Apprentice

Joined: 15 Aug 2008 Posts: 209
|
Posted: Wed Jul 22, 2009 1:56 pm Post subject: |
|
|
The information does exist in the archive: http://www.gentoo-wiki.info/HOWTO_NetworkManager
What I have found, though, is that wireless is somewhat problematic with NetworkManager after the switch over to baselayout2/openrc. Sometimes the wireless works, sometimes it doesn't I am unsure of the problem at this time. |
|
| Back to top |
|
 |
bungernut Apprentice


Joined: 24 Jan 2004 Posts: 171
|
Posted: Sun Aug 02, 2009 10:20 am Post subject: help |
|
|
I welcome any additional help on the topic.
I've tried the procedure in the wiki without any success, my Device is still not ready.
I will read up on Dbus but I'm unsure if it is correctly handeling the wifi card and or the driver. Are there kernel options I need enabled. Do i have to specify the driver I am using anywhere? to Dbus or to NetworkManager?
--thanks in advance _________________ Two idiots make a wrong |
|
| Back to top |
|
 |
Alex_Justes n00b

Joined: 15 Oct 2009 Posts: 1
|
Posted: Thu Oct 15, 2009 2:19 pm Post subject: |
|
|
Hm... It's seems to be solved.
1) Check that dbus is present in your rc
2) chmod +x /usr/libexec/dbus-daemon-launch-helper
I also had a problem with the hostname(it's always was localhost), you can solve it by adding hostname=your_hostname in /etc/NetworkManager/nm-system-settings.conf |
|
| Back to top |
|
 |
djhyland n00b


Joined: 26 Nov 2008 Posts: 37 Location: Madison WI
|
Posted: Sun Nov 01, 2009 3:38 am Post subject: |
|
|
| Thank you, thank you, thank you Alex_Justes! I've been looking for the solution to this problem for a long time, and making /usr/libexec/dbus-daemon-launch-helper finally did it. |
|
| Back to top |
|
 |
|