We're currently working to get a snapshot of NetworkManager 0.7 into the tree. This should includes: * NetworkManager * nm-applet * knetworkmanager * the vpn plugins For anyone willing to test, run # layman -a gnome # layman -a rbu
knetworkmanger-0.7_pre0 is not available in those overlays... could you add it so I can test it :D
Snapshot Networkmanager 0.7 layman -o http://thelinux.googlecode.com/files/layman.xml -f -a thelinux Need test ;)
Frederic, we're actively working on ebuilds in my overlay. If you want to contribute to our efforts, please report bugs, comments or patches here, or I can give you write access to the repository. Browsing through another repository and figuring out the adjustments you made is just increasing workload for dagger and me.
Created attachment 167334 [details] networkmanager-20081005.ebuild
Created attachment 167336 [details] nm-applet-20081005.ebuild
Created attachment 167337 [details, diff] nm-applet-changeconf.patch
My SVN http://code.google.com/p/thelinux/source/browse/trunk
I noted some problems: In /etc/dbus/system.d/NetworkManager.conf and other nm-*.conf must change the groups to "plugdev"(See my patches). With this change it remains for me an error on wifi: $ nm-applet --sm-disable ** (nm-applet:12843): WARNING **: Could not retrieve dbus connections: Failed to execute program /usr/libexec/dbus-daemon-launch-helper: Success.
Otherwise I will be happy to help you;)
Hi Lietart, (In reply to comment #8) > I noted some problems: > > In /etc/dbus/system.d/NetworkManager.conf and other nm-*.conf must change the > groups to "plugdev"(See my patches). With this change it remains for me an > error on wifi: > > $ nm-applet --sm-disable > ** (nm-applet:12843): WARNING **: Could not retrieve dbus connections: Failed > to execute program /usr/libexec/dbus-daemon-launch-helper: Success. > I haven't seen this error before (although I haven't tried the most recent snapshot yet - only 15.09). Usually you get the "Could not retrieve dbus connections" error message when you install NM for the first time and you don't reload dbus service. PS rbu, have you experienced this problem with overwriting hostname with localhost.localdomain (was thread on mailing list few days ago)?
Can you post here the status of the build ? Is it usable ? Did you agree on one ebuild instead of two ? Also, is the knetworkmanager the same as in ubuntu untrepid beta ? (I don't like not having the available networks list like in the 0.6 one) Thanks a lot !
(In reply to comment #11) > Can you post here the status of the build ? Is it usable ? Did you agree on one > ebuild instead of two ? It is building and it is usable (for me, and some others). I would be lying if I said that I have not heard problem reports yet. Please try it for yourself and let us know if it breaks. > Also, is the knetworkmanager the same as in ubuntu untrepid beta ? (I don't > like not having the available networks list like in the 0.6 one) Please raise that issue upstream, it is the same knm as ubuntu will have, and it has the list of available networks in an extra window, yes.
Created attachment 168000 [details] buid log Got an error when emerge knetworkmanager with vpnc use.
Created attachment 170069 [details] networkmanager-9999.ebuild (SVN version) For the braves, the SVN version of this ebuild. Please note that you need gnome-extra/policykit-gnome-0.9
Created attachment 170071 [details] nm-applet-9999 (SVN version) SVN version of nm-applet to run with networkmanager-9999
I've got a lot of troubles with the hostname change of NM. If no network, it changes my hostname to localhost.localdomain If I've a network, NM tries to do a DNS reverse lookup on the IP address and then set the hostname with the lookup result. This makes my X session unusable since X didnt accept new connexion because hostname change. More details on this case at LP : https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/276253
Please read the einfo that is posted at the end of compiling/emerging NetworkManager - it is explained there what you need to do.
I've bumped the revision of NM, nm-applet, vpn plugins and knetworkmanager in the overlay yesterday. NM - 4230 applet - 968 (also checked knetworkmanager and it compiles with all VPN plugins)
(In reply to comment #15) > Created an attachment (id=170071) [edit] > nm-applet-9999 (SVN version) > > SVN version of nm-applet to run with networkmanager-9999 > Hi Alexandre, Thanks for your ebuilds. They seems to be based on 0.6.6 and some dependencies are a bit outdated. Please feel free to try 9999 ebuilds from rbu overlay. Rob
(In reply to comment #17) > Please read the einfo that is posted at the end of compiling/emerging > NetworkManager - it is explained there what you need to do. > Hi, I've setup the DHCP trick, but there is a change in the NM code that do a reverse DNS lookup and it didn't use the forced hostname. So it's a change and maybe need to be patched for Gentoo, I think.
Anyone know how I can get rid of this: cc1: warnings being treated as errors applet-device-gsm.c: In function ‘gsm_get_secrets’: applet-device-gsm.c:476: warning: ‘w’ may be used uninitialized in this function applet-device-gsm.c:476: note: ‘w’ was declared here make[3]: *** [nm_applet-applet-device-gsm.o] Error 1 I also have the localhost.localdomain problem. Thanks, Gene
Hi, What version of NM are you using? For the best results I suggest using 0.7.0_rc1 from the overlay. (In reply to comment #21) > Anyone know how I can get rid of this: > > cc1: warnings being treated as errors > applet-device-gsm.c: In function ‘gsm_get_secrets’: > applet-device-gsm.c:476: warning: ‘w’ may be used uninitialized in this > function > applet-device-gsm.c:476: note: ‘w’ was declared here > make[3]: *** [nm_applet-applet-device-gsm.o] Error 1 Can you please do the following: 1) stop NetworkManager 2) run "NM_SERIAL_DEBUG=1 /usr/sbin/NetworkManager --no-daemon" 3) attach the output to this bug 4) provide more info about the hardware you're using - if that's usb modem/phone provide model, attach lsusb, or lshal | grep gsm -A20 -B20 (anything what might be useful) > I also have the localhost.localdomain problem. > > Thanks, > > Gene > Thanks Rob
*** Bug 246283 has been marked as a duplicate of this bug. ***
(In reply to comment #22) > Hi, > > What version of NM are you using? For the best results I suggest using > 0.7.0_rc1 from the overlay. I was using nm-applet-9999 for the day of the original post. > > (In reply to comment #21) > > Anyone know how I can get rid of this: > > > > cc1: warnings being treated as errors > > applet-device-gsm.c: In function ‘gsm_get_secrets’: > > applet-device-gsm.c:476: warning: ‘w’ may be used uninitialized in this > > function > > applet-device-gsm.c:476: note: ‘w’ was declared here > > make[3]: *** [nm_applet-applet-device-gsm.o] Error 1 This is a compile time error. > > Can you please do the following: > 1) stop NetworkManager > 2) run "NM_SERIAL_DEBUG=1 /usr/sbin/NetworkManager --no-daemon" go ~ # "NM_SERIAL_DEBUG=1 /usr/sbin/NetworkManager --no-daemon" bash: NM_SERIAL_DEBUG=1 /usr/sbin/NetworkManager --no-daemon: No such file or directory > 3) attach the output to this bug This bug is graphviz or some such. > 4) provide more info about the hardware you're using - if that's usb > modem/phone provide model, attach lsusb, or lshal | grep gsm -A20 -B20 > (anything what might be useful) This is a sony tz series laptop with the intel 4965 chip using the iwlagn driver out of the kernel. I also have the some sort of cellular modem which runs with the kernel module 'option' I would like to use with NetworkManager but that functionality doesn't seem to be there yet. I had a version of NetworkManager that worked ok I thinks it was 0.7. I have been trying -9999 without much success. I could get and IP but not a static IP. The einfo stuff did not fix the localhost.localdomain problem. What else can I say? Thanks for your help. If I can figure out the overlay stuff I will try the rbu stuff. > > > I also have the localhost.localdomain problem. > > > > Thanks, > > > > Gene > > > > Thanks > Rob > Gene
Hi Gene, (In reply to comment #24) > > > cc1: warnings being treated as errors > > > applet-device-gsm.c: In function ‘gsm_get_secrets’: > > > applet-device-gsm.c:476: warning: ‘w’ may be used uninitialized in this > > > function > > > applet-device-gsm.c:476: note: ‘w’ was declared here > > > make[3]: *** [nm_applet-applet-device-gsm.o] Error 1 > > This is a compile time error. > Sorry I didn't spot it was compiler error. If you are using version -9999 you should always expects such problems, especially for _pre packages. The API might change at any point and not all the files are updated at the same time. Errors like this are completely our of our control, and usually they are fixed within few hours (or days). That's one of the main reasons you can't find 9999 ebuilds in the official portage tree. Even if you manage to find some, they will be mostly hard masked and without any keywords. It's always safer to use snapshot versions (like _pre20081010 or _beta _rc etc). That means devs tested it, made sure it compiles fine and doesn't break other stuff. > I had a version of NetworkManager that worked ok I thinks it was 0.7. I have > been trying -9999 without much success. I could get and IP but not a static IP. The static IP is configured in nm-applet (right click on the icon, that edit connections, go to wireless tab, select your network name and click edit. You should find 3 tabs there - one of them will be called "IPv4 Settings". You can change the default DHCP method to manual, and specify static IP address you desire). > Thanks for your help. If I can figure out the overlay stuff I will try the rbu > stuff. I would highly recommend stuff from overlay, as it's tested and compiles fine (does it work fine? - I hope you can help us testing it, so we can upload ebuild to the tree when 0.7 final will be released). I hope that helps, Rob
Two bugs: first: networkmanager doen't start wpa_supplicant: http://bugs.gentoo.org/show_bug.cgi?id=246026 second: networkmanager changes hostname, my /etc/dhcp/dhclient.conf is correct
(In reply to comment #26) > Two bugs: > > first: networkmanager doen't start wpa_supplicant: > http://bugs.gentoo.org/show_bug.cgi?id=246026 I think you're taking about bug http://bugs.gentoo.org/show_bug.cgi?id=212724 What version of wpa_supplicant are you using? > second: networkmanager changes hostname, my /etc/dhcp/dhclient.conf is correct > I assume you're using dhclient as your dhcp client. Would you mind trying with dhcpcd and report your results? Also does your machine has a valid revDNS?
Sorry I've & pasted a false link, correct link for first bug is http://bugzilla.gnome.org/show_bug.cgi?id=560334 I'm using version 0.6.4. With dhcpd Networkmanager is setting hostname too: Nov 13 15:02:06 [NetworkManager] <info> Setting system hostname to 'wlan0593.rz.uni-leipzig.de' (from address lookup) Where should I configure revDNS on my laptop? Gentoo handbook don't know something about revDNS.
What version of NM are you using? Is it 0.7_rc1? Can you try: /etc/init.d/NetworkManager stop than /usr/sbin/NetworkManager --no-daemon and post the results? > > Where should I configure revDNS on my laptop? Gentoo handbook don't know > something about revDNS. > If you don't know where to find it, it probably means you don't have it set up. It's the setting you set up on your DNS server. As far as I remember NM will check revDNS and will assign you corresponding name. If it won't find it - it will use localhost.localhomain. Could you also post your /etc/conf.d/hostname and /etc/hosts? btw did you manage to test it with dhcpcd? Thanks Rob
You're right, I've no DNS-Server running. We've at home a DSL-Router from Zyxel, nothing more. The problem with changing hostname exists also on university network or at friends. Now, I'm logging in Gnome and start NetworkManager manually. When I'm online and NM changed hostname I do manuelly /etc/init.d/hostname restart to be able to use X :) # cat /etc/hosts # /etc/hosts: Local Host Database # # This file describes a number of aliases-to-address mappings for the for # local hosts that share this file. # # In the presence of the domain name service or NIS, this file may not be # consulted at all; see /etc/host.conf for the resolution order. # 127.0.0.1 dhcppc0 localhost.localdomain localhost # IPv4 and IPv6 localhost aliases 127.0.0.1 localhost ::1 localhost # cat /etc/conf.d/hostname # Set to the hostname of this machine hostname="jacktop" # emerge -pv networkmanager These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] net-misc/networkmanager-0.7.0_rc1 USE="dhcpcd gnome -dhclient -doc -gnutls -nss -resolvconf" 0 kB [1] Total: 1 package (1 reinstall), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/portage/local/layman/rbu # /usr/sbin/NetworkManager --no-daemon http://rafb.net/p/sJ0ylx39.html
Can you adjust your hosts file to reflect your hostname? something along the lines: # cat /etc/hosts # /etc/hosts: Local Host Database # # This file describes a number of aliases-to-address mappings for the for # local hosts that share this file. # # In the presence of the domain name service or NIS, this file may not be # consulted at all; see /etc/host.conf for the resolution order. # 127.0.0.1 dhcppc0 jacktop.local jacktop # IPv4 and IPv6 localhost aliases 127.0.0.1 jacktop ::1 jacktop (instead of local you can use any other domain).
no change, networkmanager continue changing hostname
In http://bugs.gentoo.org/show_bug.cgi?id=212724 I noticed that NetworkManager don't start nm-system-settings too. Running it manually, the NetworkManager don't change hostname. So, Networkmanager can't start nm-system-settings an wpa_supplicant.
(In reply to comment #33) > In http://bugs.gentoo.org/show_bug.cgi?id=212724 I noticed that NetworkManager > don't start nm-system-settings too. Running it manually, the NetworkManager > don't change hostname. So, Networkmanager can't start nm-system-settings an > wpa_supplicant. > So it looks like a dbus problem. NM starts both of these services over dbus call. What version of dbus are you running?
[ebuild R ] sys-apps/dbus-1.2.3-r1 USE="X -debug -doc (-selinux)" 0 kB
(In reply to comment #35) > [ebuild R ] sys-apps/dbus-1.2.3-r1 USE="X -debug -doc (-selinux)" 0 kB > I'm still looking for potential problems with wpa_supplicant, but so far let's take a look on localhost.localdomain problem again. I've checked the code when networkmanager sets hostname=localhost.localdomain with your error message and it looks like either of these: 1) no hostname is defined 2) no connection can be used by networkmanager Could you please post the results of: 1) ls -las /etc/init.d/net* 2) cat /etc/conf.d/hostname && hostname && /etc/init.d/hostname status 3) cat /etc/conf.d/net 4) rc-config list Thanks, Rob
Since I'm also affected by the localhost.localdomain, let's go on this ... (In reply to comment #36) > I've checked the code when networkmanager sets hostname=localhost.localdomain > with your error message and it looks like either of these: > > 1) no hostname is defined > 2) no connection can be used by networkmanager I've also digged into the source code, but for some reason, NM is not looking for /etc/conf.d/hostname. > Could you please post the results of: > 1) ls -las /etc/init.d/net* 0 lrwxrwxrwx 1 root root 6 oct 25 14:21 /etc/init.d/net.ath0 -> net.lo 16 -rwxr-xr-x 1 root root 14682 oct 8 23:34 /etc/init.d/net.lo 4 -rwxr-xr-x 1 root root 2074 oct 8 23:34 /etc/init.d/netmount net.ath0 is not used as startup, it's only used if I didnt not use gnome to manually start the WiFi link. Except net.lo, all other interfaces are blocked (in /etc/rc.conf, I'm using OpenRC) rc_plug_services="net.lo !net.*" > 2) cat /etc/conf.d/hostname && hostname && /etc/init.d/hostname status cat /etc/conf.d/hostname && hostname && /etc/init.d/hostname status # Set to the hostname of this machine HOSTNAME="nb05-x40" localhost.localdomain hostname | * status: started And my /etc/hosts (you cannot setup hostname without corresponding line in hosts file) 127.0.0.1 localhost.localdomain localhost 127.0.0.1 nb05-x40.local nb05-x40 # IPv4 and IPv6 localhost aliases 127.0.0.1 localhost ::1 localhost > 3) cat /etc/conf.d/net modules=( "wpa_supplicant" ) essid_ath0="xxx" config_xxx=( "dhcp" ) Relevant WPA configuration is in /etc/wpa_supplicant/wpa_supplicant.conf. > 4) rc-config list I've a little cleaned the list. Available init scripts acpid default gnome alsasound boot apmiser avahi-daemon avahi-dnsconfd bluetooth bootmisc boot consolefont boot consolekit crypto-loop cupsd dbus device-mapper boot dhcdbd dhcpd dhcrelay distccd dmcrypt boot dmeventd esound fsck boot git-daemon gpm default hald default gnome hdparm hibernate-cleanup default gnome hostname boot hwclock boot ip6tables ipsec iptables kerneloops keymaps boot laptop_mode default gnome local default gnome nonetwork localmount boot lvm modules boot mtab boot net.ath0 net.lo boot netmount default gnome NetworkManager default gnome nfs nfsmount nscd ntp-client ntpd numlock pciparm pcscd pe-format portmap procfs boot pwcheck root boot rpc.gssd rpc.idmapd rpc.statd rpc.svcgssd rsyncd sendmail sshd swap boot sysctl boot syslog-ng default gnome termencoding boot udev udev-postmount urandom boot vixie-cron default gnome xdm gnome Thanks for trying to fix the naming issue.
Oh, and I forgot to mention; NM is setting the machine hostname to the reverse DNS mapping when IP is given via DHCP. The configuration in /etc/dhcp/dhclient.conf is not used by NM : send host-name "nb05-x40"; supersede host-name "nb05-x40";
(In reply to comment #36) > (In reply to comment #35) > > [ebuild R ] sys-apps/dbus-1.2.3-r1 USE="X -debug -doc (-selinux)" 0 kB > > > > I'm still looking for potential problems with wpa_supplicant, but so far let's > take a look on localhost.localdomain problem again. > > I've checked the code when networkmanager sets hostname=localhost.localdomain > with your error message and it looks like either of these: > > 1) no hostname is defined > 2) no connection can be used by networkmanager > > Could you please post the results of: > 1) ls -las /etc/init.d/net* > 2) cat /etc/conf.d/hostname && hostname && /etc/init.d/hostname status > 3) cat /etc/conf.d/net > 4) rc-config list > > Thanks, > Rob > this problem is gone, when I start nm-system-settings manually (see comment #33). should I post this informations anyway? My only problem is, that NM can't start nm-system-settings and wpa_supplicant over dbus. I start both manually and all is working fine.
Created attachment 172452 [details, diff] Defaults hostname to /etc/conf.d/hostname content I had issues for the hostname being set at localhost.localdomain, and even setting send-hostname directive in /etc/dhcp/dhclient.conf it didn't change at all. Then googling i found out that it's a common issue, and that ubuntu solved it by adding a "default hostname" switch that takes the hostname from /etc/hostname. I just adapted that patch to gentoo, the result is the attachment. It was a bit complicated, since /etc/conf.d/hostname it's shell-like, with the format VARIABLE="value", so i had to do some little parsing. Feedback?
(In reply to comment #25) > > I would highly recommend stuff from overlay, as it's tested and compiles fine > (does it work fine? - I hope you can help us testing it, so we can upload > ebuild to the tree when 0.7 final will be released). > > I hope that helps, > Rob > Hey, Rob, I finally figured out the overlay stuff and while compiling nm-applet I got this error: utils.c: In function 'utils_fill_connection_certs': utils.c:232: error: too many arguments to function 'nm_setting_802_1x_set_ca_cert_from_file' utils.c:239: error: too many arguments to function 'nm_setting_802_1x_set_client_cert_from_file' utils.c:246: error: too many arguments to function 'nm_setting_802_1x_set_phase2_ca_cert_from_file' utils.c:253: error: too many arguments to function 'nm_setting_802_1x_set_phase2_client_cert_from_file' make[3]: *** [libutils_la-utils.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/libutils_la-gnome-keyring-md5.Tpo .deps/libutils_la-gnome-keyring-md5.Plo make[3]: Leaving directory `/var/tmp/portage/gnome-extra/nm-applet-0.7.0_rc2/work/nm-applet-0.7.0/src/utils' This is from nm-applet-0.7.0_rc2 from the rbu overlay. Do you know how to fix this? Thanks, Gene
Hmm.. Honestly I have never seen this error before. Would you mind attaching your build log? What use flags are you using? gnutls or nss?
(In reply to comment #42) > Hmm.. Honestly I have never seen this error before. Would you mind attaching > your build log? > > What use flags are you using? gnutls or nss? > Thanks Rob. [ebuild N ] gnome-extra/nm-applet-0.7.0_rc2 USE="-debug" 0 kB [1]
Created attachment 173256 [details] build for nm-applet
(In reply to comment #44) > Created an attachment (id=173256) [edit] > build for nm-applet > Sorry, I'm blind. You said nm-applet, and I'm asking about NM itself :) Anyway, could you please attach the build log (not the ebuild). Thanks, Rob
net-misc/networkmanager-openvpn-0.7.0_pre20081028 fails: http://rafb.net/p/rYS6tk83.html net-misc/networkmanager-vpnc-0.7.0_pre20081028 fails: http://rafb.net/p/TbqH6S60.html What about fix the dbus problem?
(In reply to comment #46) > net-misc/networkmanager-openvpn-0.7.0_pre20081028 fails: > http://rafb.net/p/rYS6tk83.html > net-misc/networkmanager-vpnc-0.7.0_pre20081028 fails: > http://rafb.net/p/TbqH6S60.html > > What about fix the dbus problem? > They fail against NM_rc2 as they are _pre. We're now waiting for final release (any day now) and we will update all VPN plugins.
Created attachment 173505 [details] buildlog for failed nm-applet emerge Sorry, Rob thought I had posted this last time. Thanks, Gene
Hi Gene, (In reply to comment #48) > Created an attachment (id=173505) [edit] > buildlog for failed nm-applet emerge > > Sorry, Rob thought I had posted this last time. > > Thanks, > > > Gene > Ok, now it makes better sense. Could you please: 1) sync overlay 2) emerge -C networkmanager nm-applet 3) rm -rf /usr/include/NetworkManager 4) emerge nm-applet That should hopefully solve it.
They fired NetworkManager-0.7.0 :) Cheers!
I've bumped all NetworkManager, nm-applet and all VPN plugins to 0.7.0 final. Gnome client (nm-applet) is ready. kde-3.5 client still needs some updates, and I will bump the revision as soon as it's compatible with 0.7.0 (final) kde-4.1 does not support NetworkManager 0.7.0 (solid's part wasn't ready for 4.1). You can use nm-applet kde-4.2 (currently beta1) has full NetworkManager support (in solid) and mostly working applet (remember it's still BETA software). All available under kde-crazy overlay. I've tested all VPN plugins and they seems to work well. Please test it and provide feedback, so it can be moved to the tree (hard masked). Rob
Is not requiring nm-applet intended? If yes could 'gnome' 'kde' flags be added?
(In reply to comment #52) > Is not requiring nm-applet intended? Yes it is. NetworkManager is a system wide network daemon and it's not directly linked with any window manager. >If yes could 'gnome' 'kde' flags be added? See above. Personally I think it should be done the other way around. Window managers should pull appropriate client if networkmanager flag is specified (at least that's how kde's networkmanager support in solid works).
Tested on gnome ~amd64 laptop (with nm-applet), with a WPA2 AP and a hidden unencrypted AP, both connect fine, and apparently policykit did not kill my laptop I had to update policykit-gnome ebuild though, as it wanted gtk-doc inconditionally (updated ebuild with doc USE-flag follows)
Created attachment 173993 [details] policykit-gnome-0.9.2.ebuild policykit-gnome ebuild with conditional gtk-doc depend
Created attachment 174080 [details] screenshot of what appears in nm-applet This is all I get to appear to connect to in nm-applet. Notice that the 'wireless' in under 'wired'. None of my 'wireless' connections appear althought I have several. I can't discover where this information is stored. Perhaps there is some way to delete all connections and repopulate the connection list. I also have A 'Mobile Broadband' connection which does not show up. Thanks for any help. I hope that attaching a screenshot is not against policy, if so I apologize now. Thanks again, Gene
Hi Gene, (In reply to comment #56) > Created an attachment (id=174080) [edit] > screenshot of what appears in nm-applet > > This is all I get to appear to connect to in nm-applet. Notice that the > 'wireless' in under 'wired'. None of my 'wireless' connections appear althought > I have several. I can't discover where this information is stored. Perhaps > there is some way to delete all connections and repopulate the connection list. NetworkManager gets all the information about the network cards from HAL. Use lshal | grep 802.3 for ethernet cards and lahal | grep 80211 for wireless cards (you might need to add -A5 to grep to see better output). Hal on the other hand reports what drivers have to say. So the best way is to update hal and kernel to the newest possible. > I also have A 'Mobile Broadband' connection which does not show up. > Similar story here. NM asks hal what mobile broadband devices are available. The only difference here is, that Gentoo by default does not import hal's policies. To get it to work try: cp /usr/share/hal/fdi/information/10freedesktop/10-modem.fdi /etc/hal/fdi/information/ That should solve problems wit _most_ mobile broadband connections. Just restart hal after coping and remove and plug in the device. If your mobile broadband modem is not detected, please provide me with device details and lsusb output and I can try to fix a hal policy file for you. > Thanks for any help. I hope that attaching a screenshot is not against policy, > if so I apologize now. > > Thanks again, > > Gene > Rob
(In reply to comment #55) > Created an attachment (id=173993) [edit] > policykit-gnome-0.9.2.ebuild > > policykit-gnome ebuild with conditional gtk-doc depend > Thanks for report! It seems eva bumped version in portage tree ^^ *policykit-gnome-0.9.2 (01 Dec 2008) 01 Dec 2008; Gilles Dartiguelongue <eva@gentoo.org> +policykit-gnome-0.9.2.ebuild:
Already in the tree. Enjoy :]
Ohh.. and nm-applet was missing. Thanks to everyone involved.
(In reply to comment #56) > Created an attachment (id=174080) [edit] > screenshot of what appears in nm-applet > > This is all I get to appear to connect to in nm-applet. Notice that the > 'wireless' in under 'wired'. None of my 'wireless' connections appear althought > I have several. I can't discover where this information is stored. Perhaps > there is some way to delete all connections and repopulate the connection list. > I also have A 'Mobile Broadband' connection which does not show up. > > Thanks for any help. I hope that attaching a screenshot is not against policy, > if so I apologize now. Maybe this is related with bug 246026, where hal is showing incorrectly the wireless device as a wired one.
For everyone with problems with dbus not launching properly downgrade to dbus-1.2.1 restart dbus then update it again. I do not know why but it has worked on every install I have done.
(In reply to comment #62) > For everyone with problems with dbus not launching properly downgrade to > dbus-1.2.1 restart dbus then update it again. I do not know why but it has > worked on every install I have done. > Indeed I tried this as a last resort and it worked. I was first having that hostname issue, which was solved using an attached patch. Then I had that problem where NM fails to find any wireless APs. Downgrading then upgrading dbus solved it.
(In reply to comment #63) > I was first having that hostname issue, which was solved using an attached > patch. The NM version 0.7.0 gives the keyfile plugins witch let you define your hostname (because it doesnt detect the /etc/conf.d/hostname). : /etc/NetworkManager/nm-system-settings.conf : [main] plugins=keyfile [keyfile] hostname=the-hostname
(In reply to comment #64) > (In reply to comment #63) > > > I was first having that hostname issue, which was solved using an attached > > patch. > > The NM version 0.7.0 gives the keyfile plugins witch let you define your > hostname (because it doesnt detect the /etc/conf.d/hostname). : > > > /etc/NetworkManager/nm-system-settings.conf : > > [main] > plugins=keyfile > > [keyfile] > hostname=the-hostname > I had already tried that. For some strange reason it wasn't working.
I'm not sure what exaclty is wrong but here is my analysis of horrible "localhost.localdomain" problems. I tried everything but as soon as I started NetworkManager it broke my /etc/hosts and sysctl kernel.hostname. I tried all the nice stuff from pkg_postinst and what I found in the gentoo wiki and what I found in this bug. The solution is: /etc/init.d/NetworkManager forks of nm-system-settings. It is supposed to read /etc/NetworkManager/nm-system-settings.conf... but it isn't. No idea why. It just ignores it. Launching "nm-system-settings --plugings=keyfile" manually causes NetworkManager not to fork nm-system-settings and uses the one running ... which then works totally fine! I hacked the init.d script to launch "nm-system-settings --plugings=keyfile &" before the start-stop-daemon stuff and now it works. Man, NetworkManager has nothing to do with "network made easy". Every time I get in touch with networkmanager I get into deep deep trouble.
Thanks very much Christoph Brill, your hack: > I hacked the init.d script to launch "nm-system-settings --plugings=keyfile &" but with 1 "g" in "plugins" fixes the localhost.localdomain problem for me to! I think your last opinion: > Man, NetworkManager has nothing to do with "network made easy". is putting things very polite compared to the frustration this issue spreads all over the planet. But thank you again Christoph Brill, you've saved the day with your solution! By the way, it's not really necessary to hack the init script, i've seen that when you run nm-system-settings after NetworkManager has started, the issue is fixed as well...
I hate to be a trouble-maker, but I just got bit by several bugs mentioned in this singular bug report. There are two unresolved issues: 1) hostname change 2) NetworkManager cannot start wpa_supplicant (not sure about nm-system-settings) The second one I managed to figure out: http://bugs.gentoo.org/296367 The first one I'm still scratching my head about. Why is this bug marked fixed if NM is still failing to properly look up the system's configured hostname? (Honest question, not an accusation. Am I missing something?)
Have been fighting with this for a week now. I thought installing Gentoo on an EEE-901 would be fairly straight forward today (new kernel, nm, etc) but boy was I wrong... Why is this marked as "RESOLVED FIXED"? It's not... Hit by both: 1) Hostname change 2) NetworkManager not using wpa_supplicant First issue got fixed by re-emerging dbus (1.2.3-r1) so '/usr/libexec/dbus-daemon-launch-helper' was root:messagebus instead of root:root Second issue I can't figure out (NetworkManager is really complicated! Together with hal & dbus it's almost enough to turn me off completely!) This was with a new "stable/unmasked" gentoo install, except I have to use Kernel 2.6.32-r1 (rt2860sta not working with current stable gentoo-sources). I tried updating NM + nm-applet to 0.7.2 but still not working. emerge --info Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.32-gentoo-r1-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-1.12.13 Timestamp of tree: Wed, 06 Jan 2010 16:15:02 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -mtune=generic -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en da" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acl alsa bash-completion berkdb bzip2 cli consolekit cracklib crypt cxx dbus dri exif fam flac fortran gdbm gpm gtk hal iconv jpeg lcms mmx mmxext modules mp3 mudflap ncurses nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png policykit pppd python readline reflection sdl session spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb v4l2 vim-syntax vorbis x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en da" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY