[arm-allstar] Another Wifi Issue

Doug Crompton doug at crompton.com
Mon Aug 29 16:50:00 EST 2016




Bryan,

  Sorry to hear you are having problems there with wifi. I use it extensively here and have not had any problems. 

First I am pretty sure you are using the latest wifi version since in has been out there several weeks. The latest package is:

https://hamvoip.org/downloads/hamvoip-wireless-config-0.1-7.pkg.tar.xz
The prior version 1-6 had some problems with spaces in SSID's and no passphrase SSID's

The very best way to work on wireless is to use an HDMI monitor and keyboard attached to the Pi. That way you will always have access, be able to send commands,  and be able to see what is going on.

Connect wired and you should see something like this of course with your IP address range. The command is 'ifconfig'  In this case I only have wired connected and it shows an IP address for eth0 and not wlan0.

[root at Pi3-1 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.39  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::ba27:ebff:fe40:4958  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:40:49:58  txqueuelen 1000  (Ethernet)
        RX packets 406326  bytes 93161259 (88.8 MiB)
        RX errors 0  dropped 28  overruns 0  frame 0
        TX packets 345946  bytes 24742387 (23.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 3309  bytes 368385 (359.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3309  bytes 368385 (359.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:15:1c:0d  txqueuelen 1000  (Ethernet)
        RX packets 1  bytes 60 (60.0 B)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Now here is the same thing for a wireless only connection showing the IP address  for wlan0 and NOT eth0.

[root at 41139-Mobile ~]# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:01:2c:73  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 36095  bytes 4238619 (4.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 36095  bytes 4238619 (4.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.33  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::ba27:ebff:fe54:7926  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:54:79:26  txqueuelen 1000  (Ethernet)
        RX packets 913850  bytes 119998148 (114.4 MiB)
        RX errors 0  dropped 255  overruns 0  frame 0
        TX packets 342010  bytes 42302139 (40.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

So that is what it should look like in both instances. If you are not seeing an IP address in either case then you obviously have a problem. I have seen older routers that for some reason did not issue IP addresses properly. In one case I had to buy a new router to make it work. 

I think you already did this but make sure the wpa_supplicant file is deleted.  

 clear_wpa_passwd_file.sh

Then run the wireless setup again for you home wireless. Make sure you have everything defined properly. You need to check (spacebar) the SSID you want then enter passphrase on the next screen. It will then come up and show and ask you to confirm those entries.

You can also issue -

 systemctl stop wpa_supplicant at wlan0.service

wait a few seconds and then issue -

 systemctl start wpa_supplicant at wlan0.service

Then check the IP's again.

At boot the system should tell you what IP address it has found on the radio if oyu have it connected and configured.

If you go into rpt.conf and uncomment the 'A1' line in the functions section a *A1 DTMF will repeat back your IP address. 

I hope some of that helps. Let us know.

73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Mon, 29 Aug 2016 10:45:22 -0700
To: arm-allstar at hamvoip.org
Subject: [arm-allstar] Another Wifi Issue
From: arm-allstar at hamvoip.org
CC: bryan at k6cbr.us

Hello all!
I have an issue with WiFi on my first build.
Specs:
Raspberry Pi3 B  (built in WiFi)AllStar v1.02Beta (crompton site download)
I have the node online and connecting to show status and can connect to another node. (No radio as of today, will have it shortly) 
Of course, I didn't read the 'readme' until I noticed I had no WiFi, went back and read the note. Installed the WiFi and had no errors.
I can launch wireless-setup.sh and am able to see my network, select it and add the key. Here is where my problem starts, it simply won't connect.  I tried my home network first then did the setup process again and did my MiFi device for Verizon.  Neither will get online. Both networks are confirmed online and I have the correct keys.
My steps were:  Install wireless software, run setup process, select home network and added key.  Said no to reboot and finished setup. Went to box, removed ethernet cable and did a hard restart.  Repeated the same setups for the MiFi card and no luck.
I checked the ...custom-wlan0.conf file and I think the switch between networks messed things up.  I saw the home network SSID but the key for the MiFi.  I edited the .conf file to correct the SSID, saved and hard reboot, same result.  I then cleared the .conf file and did setup again, the .conf file re-created itself but was not able to connect via WiFi.
Any help would be appreciated.
-- 
Bryan aka K6CBR  bryan at k6cbr.uswww.k6cbr.usQRZ

_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2 web page - http://hamvoip.org
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20160829/e32b04a7/attachment-0001.html>


More information about the arm-allstar mailing list