You are not logged in.

#1 2012-12-28 21:30:46

Okre
Member
Registered: 2012-12-28
Posts: 7

Network issue

Hi all,

I am facing a network issue that confused me and that I am unable to diagnostic myself and consequently unable to solve. Here is my situation :
- One desktop computer dual-booting Arch/windows (need some programs unwinable for my work, I promise I am forced to tongue)
- One server computer running Arch
These two computers accessing internet using wifi.

I recently change living place and since I am unable to use internet on my desktop computer with Arch and I can't figure out why ! Some details :
- I can access internet from Windows so it is unlikely a material issue
- I can access internet from my server computer which use the same network profile than the desktop one
- When I use the command wifi-menu on the server computer, I can see my wifi-name. When I do it on the desktop computer, I can't see my wifi with Arch (I can see it throught

Windows)
- I can successfully netcfg -r myNetworkProfile on the server computer. When I try on my desktop computer, I have a message error saying wpa_supplicant is already running and

indicating that I have to remove a .pid file. After doing it, I get a wpa authentification fail error. As I have said before, the networkProfile file are strictly identical.
- On the server computer, I can successfully ping 127.0.0.1 and 192.168.0.11 (itself on my network). On the desktop computer, I can successfully ping 127.0.0.1 but not

192.168.0.10 (itself on my network).
- In the desktop computer, dmesg indicates the following suspicious entry : IPv6 : ADDRCONF(NETDEV_UP) : wlan0 is not ready

I am pretty new to Arch (6 months) and I can't figure out what is exactly the issue consequently I don't know how to get my network up. Any suggestion is welcomed smile

Thanks !

Offline

#2 2012-12-28 22:51:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Network issue

Please check the wireless wiki page and follow the manual connection steps.  One of them will (likely) fail.  Report back on which step failed and what the resulting error message was.

This will narrow it down to a specific problem so you don't just get a bunch of people just guessing or (worse yet) leading you through the steps outlined in the wiki.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2012-12-29 10:31:11

Okre
Member
Registered: 2012-12-28
Posts: 7

Re: Network issue

My apologies, I should have mention that I have already did it. I have installed my network by using the wiki and everything was working well before changing my living place.

Just did it another time to check it out :
- iwconfig output is correct (similar to wiki example)
- wlan0 set up correctly with ip link (no error output, no firmware required)
- wireless_tools, wpa_supplicant, wpa_actiond, dialog packages are installed (check with pacman -Ssq)
- wifi-menu wlan0 doesn't list my wifi (but only on my desktop computer as I have already mention it)
- net-auto-wireless service is running (check with systemctl list-units)
- /etc/conf.d/nercfg configuration is the same that the wiki example one

Thanks for helping !

Offline

#4 2012-12-29 12:20:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Network issue

These are the manual steps I was referring to.

EDIT: first, while troubleshooting *disable* all automatic connection services like netautowireless or netcfg.

I'm not familiar with wifi-menu.  Post the result of the following

# iwlist wlan0 scan

Note that this must be run as root, or with sudo.  I suspect wifimenu is the same, are you running wifimenu as root?

Last edited by Trilby (2012-12-29 12:22:10)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2013-01-03 11:28:27

Okre
Member
Registered: 2012-12-28
Posts: 7

Re: Network issue

"iwlist wlan0 scan" and wifi-menu (both run in root) have same outputs and my wifi network is still not listed in...

I have made some new experiments to find out the problem (that's why it takes me some days to answer). I run a live-cd arch image and run "iw dev wlan0 scan" on it (same command as yours, find it in the wiki page you mentionned). I found my network ssid and was able to connect to it.

At this stage, I have definitely assumed that is not an hardware issue and must probably be a misconfiguration one so I decide to reinstall my network related packages to try a full manual installation (following the wiki link you have mentionned).

Using the live-cd, I have mounted my system and chrooted into it. I have disable all automatically launched services related to network, delete current network profiles and conserved only packages mentionned in the wiki page for WPA manual installation.

I sucessfully connect to my wifi following the wiki (scanning access point, associating my wifi thanks to wpa_supplicant.conf, getting an ip throught dhcpcd).

Then, I quit the chrooted environment to run my system and was still unable to connect to my wifi... I redo wiki steps and get the following results :
- "iw dev wlan0 scan" command doesn't list my wifi ssid
- Manual association with wpa_supplican't seems to failed (infinite process, no output)

I am still confused about this problem and can't understand why it works on chrooted system and not the normal one.

Offline

#6 2013-01-03 11:34:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Network issue

First saying they had the same output without your network is not really what I was looking for.  Do they have output at all?  Does wifi-menu or iwlist produce a list of wireless networks but yours is just not listed, or do they not produce a list of wireless networks?  Do they give any error messages?

It sounds like you have netcfg or networkmanager services enabled to start at boot and these are causing problems.  Use systemctl or explore /etc/systemd/* to see what services are being started at boot and disable any networking related service (for the time being).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2013-01-03 20:51:05

Okre
Member
Registered: 2012-12-28
Posts: 7

Re: Network issue

First saying they had the same output without your network is not really what I was looking for.  Do they have output at all?  Does wifi-menu or iwlist produce a list of wireless networks but yours is just not listed, or do they not produce a list of wireless networks?  Do they give any error messages?

They bot have "standard" output which list some networks (about ten) and mine is not listed in. The output is errorless but some network have no ssid. Nevertheless, those networks are not mine because I have tried to connect to them (+ mine is listed on a chrooted environment).

It sounds like you have netcfg or networkmanager services enabled to start at boot and these are causing problems.  Use systemctl or explore /etc/systemd/* to see what services are being started at boot and disable any networking related service (for the time being).

This sound good according to the new symptoms but I have done few check and it appears that's not the case. Here are some command line outputs in case I missed something myself :

ls -R /etc/systemd :

/etc/systemd/:

journald.conf

logind.conf

ntp-units.d/

system/

system.conf

user/

user.conf



/etc/systemd/ntp-units.d:



/etc/systemd/system:

display-manager.service@
getty.target.wants/

local-fs.target.wants/

multi-user.target.wants/

sysinit.target.wants/



/etc/systemd/system/getty.target.wants:

getty@tty1.service@



/etc/systemd/system/local-fs.target.wants:


/etc/systemd/system/multi-user.target.wants:

clamd.service@

dhcpcd.service@

remote-fs.target@



/etc/systemd/system/sysinit.target.wants:

/etc/systemd/user:

systemctl list-unit-files :

UNIT FILE                               STATE   

proc-sys-fs-binfmt_misc.automount       static  

dev-hugepages.mount                     static  

dev-mqueue.mount                        static  

proc-sys-fs-binfmt_misc.mount           static  

sys-fs-fuse-connections.mount           static  

sys-kernel-config.mount                 static  

sys-kernel-debug.mount                  static  

tmp.mount                               static  

systemd-ask-password-console.path       static  

systemd-ask-password-wall.path          static  

accounts-daemon.service                 disabled

autovt@.service                         disabled

avahi-daemon.service                    disabled

avahi-dnsconfd.service                  disabled

bluetooth.service                       disabled

canberra-system-bootup.service          disabled

canberra-system-shutdown-reboot.service disabled

canberra-system-shutdown.service        disabled

clamd.service                           enabled 

colord.service                          static  

console-getty.service                   disabled

console-shell.service                   disabled

cronie.service                          disabled

dbus-org.freedesktop.hostname1.service  static  

dbus-org.freedesktop.locale1.service    static 
 
dbus-org.freedesktop.login1.service    static  

dbus-org.freedesktop.timedate1.service  static  

dbus.service                            static  

debug-shell.service                     disabled

dhcpcd.service                          enabled 

dhcpcd@.service                         disabled

display-manager.service                 enabled 

emergency.service                       static  

freshclamd.service                      disabled

ftpd.service                            disabled

gdm.service                             enabled 

getty@.service                          enabled 

gpm.service                             disabled

ip6tables.service                       disabled

iptables.service                        disabled

krb5-kadmind.service                    disabled

krb5-kdc.service                        disabled

krb5-kpropd.service                     disabled

krb5-kpropd@.service                    static  

lvm-on-crypt.service                    disabled

lvm.service                             disabled

mdadm.service                           disabled

net-auto-wired.service                  disabled

net-auto-wireless.service               disabled

net-profiles.service                    disabled

netcfg.service                          disabled

netcfg@.service                         disabled

NetworkManager-wait-online.service      disabled

NetworkManager.service                  disabled

nscd.service                            disabled

polkit.service                          static  

ppp@.service                            disabled

quotaon.service                         static  

rescue.service                          static  

rtkit-daemon.service                    disabled

saned@.service                          static  

serial-getty@.service                   static  

snmpd.service                           disabled

systemd-ask-password-console.service    static  

systemd-ask-password-wall.service       static  

systemd-binfmt.service                  static  

systemd-fsck-root.service               static  

systemd-fsck@.service                   static  

systemd-halt.service                    static  

systemd-hibernate.service               static  

systemd-hostnamed.service               static  

systemd-hybrid-sleep.service            static  

systemd-initctl.service                 static  

systemd-journal-flush.service           static  

systemd-journal-gatewayd.service        static  

systemd-journald.service                static  

systemd-kexec.service                   static  

systemd-localed.service                 static  

systemd-logind.service                  static  
systemd-modules-load.service            static  

systemd-poweroff.service                static  

systemd-quotacheck.service              static  

systemd-random-seed-load.service        static  

systemd-random-seed-save.service        static  

systemd-readahead-collect.service       disabled

systemd-readahead-done.service          static  

systemd-readahead-drop.service          disabled

systemd-readahead-replay.service        disabled

systemd-reboot.service                  static  

systemd-remount-fs.service              static  

systemd-shutdownd.service               static  

systemd-suspend.service                 static  

systemd-sysctl.service                  static  

systemd-timedated.service               static  

systemd-tmpfiles-clean.service          static  

systemd-tmpfiles-setup.service          static  

systemd-udev-settle.service             static  

systemd-udev-trigger.service            static  

systemd-udevd.service                   static  

systemd-update-utmp-runlevel.service    static  

systemd-update-utmp-shutdown.service    static  

systemd-user-sessions.service           static  

systemd-vconsole-setup.service          static  

udisks2.service                         static  

upower.service                          disabled

usbmuxd.service                         static  

user@.service                           static  

uuidd.service                           static  

vboxservice.service                     disabled

vboxweb.service                         disabled

wpa_supplicant-nl80211@.service         disabled

wpa_supplicant-wired@.service           disabled

wpa_supplicant.service                  disabled

wpa_supplicant@.service                 disabled

avahi-daemon.socket                     disabled

dbus.socket                             static  

krb5-kpropd.socket                      disabled

saned.socket                            disabled

syslog.socket                           static  

systemd-initctl.socket                  static  

systemd-journal-gatewayd.socket         disabled

systemd-journald.socket                 static  

systemd-shutdownd.socket                static  

systemd-udevd-control.socket            static  
systemd-udevd-kernel.socket             static  

uuidd.socket                            disabled

basic.target                            static  

bluetooth.target                        static  

cryptsetup.target                       static  

ctrl-alt-del.target                     disabled

default.target                          disabled

emergency.target                        static  

final.target                            static  

getty.target                            static  

graphical.target                        disabled

halt.target                             disabled

hibernate.target                        static  

hybrid-sleep.target                     static  

kexec.target                            disabled

local-fs-pre.target                     static  

local-fs.target                         static  

mail-transfer-agent.target              static  

multi-user.target                       disabled

network.target                          static  

nss-lookup.target                       static  

nss-user-lookup.target                  static  

poweroff.target                         disabled

printer.target                          static  

reboot.target                           disabled

remote-fs-pre.target                    static  

remote-fs.target                        enabled 

rescue.target                           disabled

rpcbind.target                          static  

runlevel0.target                        disabled

runlevel1.target                        disabled

runlevel2.target                        disabled

runlevel3.target                        disabled

runlevel4.target                        disabled

runlevel5.target                        disabled

runlevel6.target                        disabled

shutdown.target                         static  

sigpwr.target                           static  

sleep.target                            static  

smartcard.target                        static  

sockets.target                          static  

sound.target                            static  

suspend.target                          static  

swap.target                             static  

sysinit.target                          static  

syslog.target                           static  

system-update.target                    static  

time-sync.target                        static  

umount.target                           static 

systemd-readahead-done.timer            static  

systemd-tmpfiles-clean.timer            static  


175 unit files listed.

I have redone the wiki step on the chroot environment and it definitively works. I can't understand why "iw dev wlan0 scan" doesn't give the same result on chrooted system and normal one. It should be the same even if I have something misconfigurated...

Offline

Board footer

Powered by FluxBB