You are not logged in.
Pages: 1
So my computer went dead and now I'm installing arch on my new one.
I have one small problem. When my old computer booted it just jumped on my wireless since it had the strongest signal. But now with the new comp the network doesn't start at boot.
After boot I have to do
iwconfig eth2 essid xxxxxand then do
sh /etc/rc.d/network startThis works.
Seems like
iwconfig eth2 essid anydoesn't work which is really annoying since I move my computer around a lot (school, friends, home so on)
How come it doesn't find my AP on boot?
Offline
I have had the same problem, I hate to give a non technical commandline-less solution, but the only way I got it to work was with network manager, just add testing and
pacman -Sy gnome-network-manager
recomment testing
and it starts with nm-applet
just my 2 cents
Offline
i use the menu on boot which lets me select different profiles and times out in 5 sec if i dont select any.
just edit rc.conf with "NET_PROFILES=(menu)" and add your profiles to /etc/network-profiles (there's a template already there)
Offline
hmm - both solutions would work ... but it is still annoying that it can't log on to a network at boot (without the menu).
So I tried a little script to see if it would work. I took the first ESSID from the
iwlist eth2 scanand had it log on to that - but that doesn't work. And after running my script I can't log on to any network not even manually by doing
iwconfig eth2 essid xxxx
ifconfig eth2 up
dhcpcd eth2My testscript looks like this
#!/bin/bash
INTERFACE=eth2
aESSID="`iwlist $INTERFACE scan | grep ESSID -m 1`"
bESSID=${aESSID:27}
index=`expr index "$bESSID" "`
ESSID=${bESSID:0:$index-1}
echo Logging on to $ESSID
iwconfig $INTERFACE essid $ESSID
iwconfig #lets see if the essid gets set
sh /etc/rc.d/network startI can see that the script sets the ESSID correctly but I still can't log on
Does anyone know why
iwconfig ethX essid anydoesn't work anymore
Offline
How come it doesn't find my AP on boot?
Is it the ssid hidden (not broadcasted)?
Offline
hmm - both solutions would work ... but it is still annoying that it can't log on to a network at boot (without the menu).
So I tried a little script to see if it would work. I took the first ESSID from the
iwlist eth2 scanand had it log on to that - but that doesn't work. And after running my script I can't log on to any network not even manually by doing
iwconfig eth2 essid xxxx ifconfig eth2 up dhcpcd eth2My testscript looks like this
#!/bin/bash INTERFACE=eth2 aESSID="`iwlist $INTERFACE scan | grep ESSID -m 1`" bESSID=${aESSID:27} index=`expr index "$bESSID" "` ESSID=${bESSID:0:$index-1} echo Logging on to $ESSID iwconfig $INTERFACE essid $ESSID iwconfig #lets see if the essid gets set sh /etc/rc.d/network startI can see that the script sets the ESSID correctly but I still can't log on
Does anyone know why
iwconfig ethX essid anydoesn't work anymore
are you doing "ifconfig ethX up" after that script?
Offline
Pages: 1