Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssid is not displaying last 4 serial #88

Open
ashah7 opened this issue Nov 28, 2019 · 2 comments
Open

ssid is not displaying last 4 serial #88

ashah7 opened this issue Nov 28, 2019 · 2 comments

Comments

@ashah7
Copy link

ashah7 commented Nov 28, 2019

Previous versions worked fine for me, I've been using it for over a year with Raspian Lite Stretch

Using Buster Lite - fresh install and the last 4 of the serial in hostapd.conf are incorrect
below is what it shows:
ssid should be "RaspiWifi c873"

pi@raspberrypi:~ $ cat /proc/cpuinfo | grep Serial | awk '{print $3}'
00000000321ec873

In your code your looking at the last line in /proc/cpuinfo this has changed in buster use the below instead:
subprocess.getoutput("cat /proc/cpuinfo | grep Serial | awk '{print $3}'")[-4:]

cat /etc/hostapd/hostapd.conf
interface=wlan0
driver=nl80211
ssid=RaspiWifi 1.2 <--incorrect
channel=1
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_passphrase=getmeyellow

@corrilan
Copy link

Hello

I am also seeing this issue using Buster on Pi Zero W.

root@photoframe-lounge-the-mount:~# cat /proc/cpuinfo | grep Serial | awk '{print $3}'
00000000ee700f02

The generated access point name is "photo-frame- 1.1" whereas I was expecting "photo-frame-0f02".

Regards

Jason

@BramWerbrouck
Copy link

Hello

I am also seeing this issue using Buster on Pi Zero W.

root@photoframe-lounge-the-mount:~# cat /proc/cpuinfo | grep Serial | awk '{print $3}'
00000000ee700f02

The generated access point name is "photo-frame- 1.1" whereas I was expecting "photo-frame-0f02".

Regards

Jason

Same here: myNetwork 1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants