WLAN connection problem
I have repetier server 1.4.3 installed few days ago with ethernet connection (just to setup system), I am not able to set WLAN in the way that it connects automatically at boot without ethernet cable. I used shell from browser (under global settings) to configure it (/boot/wpa_supplicant-wlan0.conf) changing only ssid and password, but if I reboot without ethernet cable system syays that it is not connected to internet...
Comments
ipconfig
and
iwconfig
to see if it works. Makes it easier to play around.
That solution bypasses our wifi handling completely. But here some known issues you might run into:
- Did you set country in case your router uses channels not available everywhere?
- Does you ssid use non ascii chars? That is always a possible issue if charsets differ.
- Does password only contain ascii chars, is it correct.
Also have a look at /var/log/syslog where linux logs the connection attempt. There you see if it was tried at all and why it failed.
Our startup script copies the /boot variant to the correct destination. Check if it is your version:
sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
1) yes I set country during first configuration and then also when I tried connection with /boot/wpa_supplicant-wlan0.conf as well.
2) SSID has letters and one single underscore
3) password has only numbers and letters
Now I am connected with Ethernet, removed /boot/wpa_supplicant-wlan0.conf and tried wireless connection from repetier panel on browser. Output of requested files:
sudo cat /etc/wpa_supplicant/wpa_supplicant.conf --> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1
/var/log/syslog (during attempt of wireless connection) -->
so from this it seems you have a connection and it got ip 192.168.2.74 over wifi. At least in the shown log part I did not see that it stopped.
So solution seems to work. Happened anythign after connecting? It might take a minute or so to see it in web interface as connected.
Tip in case there came more - filter syslog for wlan0 messages.
tail -2000 /var/log/syslog | grep wlan0
should filte rlast 2000 lines containing wlan0 reducing spam to read. If it seems to miss something like you see it is removing adress but no reason for it check the log at that time above the message. Then you see why it disconnects. But initial connect seems to be working.