Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350476 - net-misc/networkmanager-0.8.2-r2: one is unable to create an ad-hoc wireless network connection, shared to other computers, that is available to all users
Summary: net-misc/networkmanager-0.8.2-r2: one is unable to create an ad-hoc wireless ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mu Qiao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-03 15:42 UTC by Aditya Iyer
Modified: 2011-01-26 16:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/conf.d/net (net,834 bytes, text/plain)
2011-01-06 01:58 UTC, Aditya Iyer
Details
/etc/wpa_supplicant/wpa_supplicant.conf (wpa_supplicant.conf,337 bytes, text/plain)
2011-01-06 02:00 UTC, Aditya Iyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aditya Iyer 2011-01-03 15:42:17 UTC
Using nm-applet, one is able to create an ad-hoc wireless network connection that is shared to other computers and is only available to the current user. But if one selects 'available to all users' and saves the settings, the method in the IPv4 settings tab is saved as 'Automatic (DHCP)' instead of the intended 'shared to other computers'.

Reproducible: Always

Steps to Reproduce:
1. Using nm-applet, select 'Edit Connections...' and add a new wireless connection.
2. In the 'Wireless' tab, input any SSID and select 'Mode' as 'Ad-hoc'.
3. In the 'IPv4 Settings' tab, select 'Method' as 'Shared to other computers.
4. In the 'Wireless Security' tab, select 'Security' as 'WEP 40/128-bit Key' and assign any key.
5. Select 'Available to all users' checkbox at the bottom and save.
6. Re-edit the connection to verify the saved details.
Actual Results:  
On saving, 'Method' is set to 'Automatic (DHCP) in the 'IPv4 Settings' tab and the connection does not get shared to other computers.

Expected Results:  
In IPv4 settings, 'Method' should be saved as 'Shared to other computers' as intended.

gnome-extra/nm-applet-0.8.2 was used.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-04 19:40:21 UTC
1) Please paste your `emerge --info' output in a comment.
2) Please paste your `emerge -pvq net-misc/networkmanager' output in a comment.
Comment 2 Mu Qiao (RETIRED) gentoo-dev 2011-01-05 01:41:54 UTC
Hi, I guess there's something wrong with the ifnet plug-in. For now You have to remove it from /etc/NetworkManager/nm-system-settings.conf or just not to create system-wide connection. I'll see what exactly happened to ifnet plug-in.
Comment 3 Aditya Iyer 2011-01-05 03:15:27 UTC
prithvi ~ # emerge --info
Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.11.2-r3, 2.6.36-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 04 Jan 2011 02:05:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -ftree-loop-linear -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -ftree-loop-linear -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu"
LINGUAS="en_GB en_US en hi_IN hi sa_IN ta_IN ta"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/java-overlay /var/lib/layman/multimedia /var/lib/layman/lcd-filtering /var/lib/layman/rebutia /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 automount avahi bash-completion berkdb bluetooth bonjour branding bzip2 cairo caps cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups curl curlwrappers cvs cxx dbus device-mapper dga dhcpcd dirac divx dri dts dvd dvdr dvdread eds emacs emboss encode evdev evo exif expat extras faac faad fam fbcon ffmpeg firefox flac fontconfig fortran ftp fuse gd gdbm gdu geoip gif git gnome gnome-keyring gopher gphoto2 gpm graphite gsm gstreamer gtk gzip hal hddtemp iconv icu ieee1394 imap ipv6 java java6 javascript jpeg jpeg2k json kerberos laptop latex lcdfilter lcms ldap libnotify libsamplerate lm_sensors lzo mad matroska mbox mikmod mime mmap mmx mmxext mng modules mono mp3 mp4 mpeg mplayer msn mtp mudflap multilib mysql nas nautilus ncurses network networkmanager nls nntp nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pango pcre pdf perl php png policykit posix ppds pppd prelude pulseaudio python qt3support quicktime readline resolvconf ruby samba sasl schroedinger sdl session smp soap speex spell sql sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs taglib tcpd theora threads tiff tremor truetype ubuntu udev unicode usb v4l v4l2 vaapi vcd vdpau vim-syntax vnc vorbis webkit wext wifi wmf x264 xcb xft xine xml xmp xorg xpm xsl xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US en hi_IN hi sa_IN ta_IN ta" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


prithvi ~ # emerge -pvq net-misc/networkmanager
[ebuild   R   ] net-misc/networkmanager-0.8.2-r2  USE="avahi bluetooth connection-sharing dhcpcd resolvconf -dhclient -doc -gnutls -nss" 
Comment 4 Mu Qiao (RETIRED) gentoo-dev 2011-01-05 06:33:11 UTC
Could you please add my overlay 'qiaomuf' and see if networkmanager-0.8.2-r100.ebuild works for you.

Actually ifnet plug-in should support adhoc network but it's not been tested yet. So your feedback is a great help.

If you need any help, please let me know.
Comment 5 Aditya Iyer 2011-01-06 00:39:19 UTC
Just wanted to add that NetworkManager has been a great help and add-hoc networking is working once X starts up. Of course would be great if it was system-wide.

I tried networkmanager-0.8.2-r100 from your overlay and it exits with signal 11 for some reason. Am pasting relevant output of /var/log/messages


Jan  6 05:43:43 prithvi NetworkManager[5740]: <info> NetworkManager (version 0.8.2) is starting...
Jan  6 05:43:43 prithvi NetworkManager[5740]: <info> Read config file /etc/NetworkManager/nm-system-settings.conf
Jan  6 05:43:43 prithvi NetworkManager[5740]: <info> modem-manager is now available
Jan  6 05:43:43 prithvi NetworkManager[5740]: <info> monitoring kernel firmware directory '/lib/firmware'.
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Initializing!
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: management mode: managed
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Monitoring /etc/conf.d/hostname
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Monitoring /etc/conf.d/net
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Monitoring /etc/wpa_supplicant/wpa_supplicant.conf
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Loading connections
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: guessed connection type (foo) = 802-11-wireless
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: update_connection_setting_from_config_block: name:foo, id:System (foo), uuid: e4e3c7ea-41fc-6184-8ce0-17d0e670f2c5
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Using mode: infrastructure
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: wireless_setting added for foo
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: updating wireless security settings (foo).
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Default key index: 0
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: WEP: Use open system authentication
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Using dhcp method for foo
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: dhcpcd hostname not defined, ignoring
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Connection verified foo:1
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: guessed connection type (eth1) = 802-3-ethernet
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: update_connection_setting_from_config_block: name:eth1, id:System (eth1), uuid: 93643886-e1a1-7d56-788a-610b914a3797
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Using dhcp method for eth1
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: dhcpcd hostname not defined, ignoring
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Connection verified eth1:1
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: guessed connection type (eth0) = 802-3-ethernet
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: update_connection_setting_from_config_block: name:eth0, id:System (eth0), uuid: f3f8b0a6-0bb0-2b7b-9d30-b18634ddb983
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: new address: -922703680
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: ipv4 addresses count: 1
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: Connection verified eth0:1
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: guessed connection type (lo) = 802-11-wireless
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: update_connection_setting_from_config_block: name:lo, id:System (lo), uuid: 070d6cd2-cf06-0d9d-2892-b600d6a8aa6c
Jan  6 05:43:43 prithvi NetworkManager[5740]:    SCPlugin-Ifnet: wireless_setting added for lo
Jan  6 05:43:43 prithvi NetworkManager[5740]: <warn> caught signal 11. Generating backtrace...
Jan  6 05:43:43 prithvi NetworkManager: ******************* START **********************************
Jan  6 05:43:43 prithvi NetworkManager: [Thread debugging using libthread_db enabled]
Jan  6 05:43:43 prithvi NetworkManager: 0x00007f666927bcfe in waitpid () from /lib/libpthread.so.0
Jan  6 05:43:43 prithvi NetworkManager: #0  0x00007f666927bcfe in waitpid () from /lib/libpthread.so.0
Jan  6 05:43:43 prithvi NetworkManager: #1  0x000000000045a1cb in nm_logging_backtrace ()
Jan  6 05:43:43 prithvi NetworkManager: #2  0x00000000004403c9 in ?? ()
Jan  6 05:43:43 prithvi NetworkManager: #3  <signal handler called>
Jan  6 05:43:43 prithvi NetworkManager: #4  0x00007f6667b0ea8b in ifnet_update_connection_from_config_block () from /usr/lib64/NetworkManager/libnm-settings-plugin-ifnet.so
Jan  6 05:43:43 prithvi NetworkManager: #5  0x00007f6667b0ad29 in nm_ifnet_connection_new () from /usr/lib64/NetworkManager/libnm-settings-plugin-ifnet.so
Jan  6 05:43:43 prithvi NetworkManager: #6  0x00007f6667b0b2af in ?? () from /usr/lib64/NetworkManager/libnm-settings-plugin-ifnet.so
Jan  6 05:43:43 prithvi NetworkManager: #7  0x00007f6667b0b9ca in ?? () from /usr/lib64/NetworkManager/libnm-settings-plugin-ifnet.so
Jan  6 05:43:43 prithvi NetworkManager: #8  0x000000000047f183 in nm_sysconfig_settings_new ()
Jan  6 05:43:43 prithvi NetworkManager: #9  0x0000000000452f96 in nm_manager_get ()
Jan  6 05:43:43 prithvi NetworkManager: #10 0x00000000004411b1 in main ()
Jan  6 05:43:43 prithvi NetworkManager: 
Jan  6 05:43:43 prithvi NetworkManager: Thread 1 (Thread 0x7f666c9ba760 (LWP 5740)):
Jan  6 05:43:43 prithvi NetworkManager: #0  0x00007f666927bcfe in waitpid () from /lib/libpthread.so.0
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: #1  0x000000000045a1cb in nm_logging_backtrace ()
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: #2  0x00000000004403c9 in ?? ()
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: #3  <signal handler called>
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: #4  0x00007f6667b0ea8b in ifnet_update_connection_from_config_block () from /usr/lib64/NetworkManager/libnm-settings-plugin-ifnet.so
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: #5  0x00007f6667b0ad29 in nm_ifnet_connection_new () from /usr/lib64/NetworkManager/libnm-settings-plugin-ifnet.so
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: #6  0x00007f6667b0b2af in ?? () from /usr/lib64/NetworkManager/libnm-settings-plugin-ifnet.so
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: #7  0x00007f6667b0b9ca in ?? () from /usr/lib64/NetworkManager/libnm-settings-plugin-ifnet.so
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: #8  0x000000000047f183 in nm_sysconfig_settings_new ()
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: #9  0x0000000000452f96 in nm_manager_get ()
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: #10 0x00000000004411b1 in main ()
Jan  6 05:43:43 prithvi NetworkManager: No symbol table info available.
Jan  6 05:43:43 prithvi NetworkManager: A debugging session is active.
Jan  6 05:43:43 prithvi NetworkManager: 
Jan  6 05:43:43 prithvi NetworkManager: 	Inferior 1 [process 5740] will be detached.
Jan  6 05:43:43 prithvi NetworkManager: 
Jan  6 05:43:43 prithvi NetworkManager: Quit anyway? (y or n) [answered Y; input not from terminal]
Jan  6 05:43:43 prithvi NetworkManager: ******************* END **********************************
Comment 6 Mu Qiao (RETIRED) gentoo-dev 2011-01-06 01:16:48 UTC
It seems that your connection 'lo' caused the crash. Could you please attach your /etc/conf.d/net and /etc/wpa_supplicant/wpa_supplicant.conf? I'll try them on my box. And replace your private information to any other thing please.
Comment 7 Aditya Iyer 2011-01-06 01:58:15 UTC
Created attachment 258995 [details]
/etc/conf.d/net
Comment 8 Aditya Iyer 2011-01-06 02:00:25 UTC
Created attachment 258997 [details]
/etc/wpa_supplicant/wpa_supplicant.conf
Comment 9 Aditya Iyer 2011-01-06 02:11:32 UTC
I'm connecting to WAN with a 3G modem using wvdial. The attached files were generated by networkmanager-0.8.2-r100 and does not contain info about the actual WLAN connection I'm using, presumably it crashed before that.

prithvi ~ # ifconfig
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:840 errors:0 dropped:0 overruns:0 frame:0
          TX packets:840 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:65452 (63.9 KiB)  TX bytes:65452 (63.9 KiB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:**.**.**.**  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:4473 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4500 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:1597393 (1.5 MiB)  TX bytes:388257 (379.1 KiB)
Comment 10 Aditya Iyer 2011-01-06 02:13:08 UTC
Comment on attachment 258995 [details]
/etc/conf.d/net

generated by networkmanager-0.8.2-r100
Comment 11 Mu Qiao (RETIRED) gentoo-dev 2011-01-06 02:47:20 UTC
(In reply to comment #9)
> I'm connecting to WAN with a 3G modem using wvdial. The attached files were
> generated by networkmanager-0.8.2-r100 and does not contain info about the
> actual WLAN connection I'm using, presumably it crashed before that.
> 
> prithvi ~ # ifconfig
> 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:840 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:840 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0 
>           RX bytes:65452 (63.9 KiB)  TX bytes:65452 (63.9 KiB)
> 
> ppp0      Link encap:Point-to-Point Protocol  
>           inet addr:**.**.**.**  P-t-P:10.64.64.64  Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>           RX packets:4473 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:4500 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:3 
>           RX bytes:1597393 (1.5 MiB)  TX bytes:388257 (379.1 KiB)
> 

The crash is caused by nis_domain_lo="subetha.net", which is my fault. It's fixed in my overlay now, try net-misc/networkmanager-0.8.2-r101 please and see if adhoc network is working now :).
Comment 12 Aditya Iyer 2011-01-10 23:33:04 UTC
net-misc/networkmanager-0.8.2-r101 is not crashing. Ad-hoc networking is available  on stopping X. But the created connection disappears on restarting NetworkManager. 
Comment 13 Mu Qiao (RETIRED) gentoo-dev 2011-01-11 07:25:20 UTC
(In reply to comment #12)
> net-misc/networkmanager-0.8.2-r101 is not crashing. Ad-hoc networking is
> available  on stopping X. But the created connection disappears on restarting
> NetworkManager. 
> 

Is ad-hoc networking working properly for the system-wide connection?
I made another revision bump which should fix the disappearance problem. 
Comment 14 Aditya Iyer 2011-01-11 15:19:22 UTC
yes, the system-wide ad-hoc connection works properly until NetworkManager is restarted. 
Comment 15 Mu Qiao (RETIRED) gentoo-dev 2011-01-12 03:49:54 UTC
(In reply to comment #14)
> yes, the system-wide ad-hoc connection works properly until NetworkManager is
> restarted. 
> 
Did you tried networkmanager-0.8.2-r102? If it's still not working, could you please paste your log here? 
I have difficulties in testing ad-hoc network but I think the connection won't disappear for 0.8.2-r102. Note that after restarting, you have to reconnect to your AP manually via nm-applet if you haven't made it automatically connect.

If everything is OK, I will close the bug and make the patch available in portage.
Thanks.
Comment 16 Mu Qiao (RETIRED) gentoo-dev 2011-01-12 07:32:44 UTC
To help make the log more useful, I add a revision bump networkmanager-0.8.2-r103. It may also solve the problem. Before trying anything, merge it please. Thanks
Comment 17 Aditya Iyer 2011-01-13 02:37:49 UTC
I've sync'ed the qiaomuf overlay but am not able to see any ebuilds for networkmanager-0.8.2-r102 or networkmanager-0.8.2-r103...
Comment 18 Mu Qiao (RETIRED) gentoo-dev 2011-01-13 04:06:13 UTC
(In reply to comment #17)
> I've sync'ed the qiaomuf overlay but am not able to see any ebuilds for
> networkmanager-0.8.2-r102 or networkmanager-0.8.2-r103...
> 

Ah, sorry, it's my fault. It's ok now.
Comment 19 Aditya Iyer 2011-01-14 15:33:05 UTC
i tried networkmanager-0.8.2-r103, but the created connection disappears in nm-applet on restarting NetworkManager and it doesn't connect automatically. the connection is still present in wpa_supplicant.conf and /etc/conf.d/net
Comment 20 Mu Qiao (RETIRED) gentoo-dev 2011-01-16 06:44:04 UTC
(In reply to comment #19)
> i tried networkmanager-0.8.2-r103, but the created connection disappears in
> nm-applet on restarting NetworkManager and it doesn't connect automatically.
> the connection is still present in wpa_supplicant.conf and /etc/conf.d/net
> 

I can't reproduce your problem now. I guess your connection lost wpa psk in wpa_supplicant.conf after restarting NM. I made another revision bump r104 which will not delete old psk anymore. Hope this time it will work.
Comment 21 Mu Qiao (RETIRED) gentoo-dev 2011-01-24 07:36:21 UTC
Fixed in CVS. If there's still anything wrong, please feel free to reopen.
Comment 22 Aditya Iyer 2011-01-26 16:25:24 UTC
Not been able to update as have been busy. Shared System Ad-hoc works fine now and connection is persisted fine. Only one small issue that it doesn't start the connection automatically when networkmanager is started the first time after boot. It connects and works fine after restarting networkmanager. If needed this bug can be reopened.