Comments (10)
I just re-read the readme. Sounds like the installer can only be run over WiFi if the Pi itself has built-in WiFi - so it won't work on the older Pi's with a dongle
from raspberrypi-ua-netinst.
It can work if your dongle is supported. First: the devicename has to be wlan0. Try it and report. You should check dmesg if it doesn't work! So we can find out what's missing for your dongle.
from raspberrypi-ua-netinst.
@FooDeas thank you for the quick response! I'd love for UA-NetInst to work, very powerful.
First: I'll say that I did a sanity check - I got WiFi working successfully with the default Raspbian installed by NOOBS, by following this tutorial. So in theory it should work.
Second: Trying to get the raspberrypi-ua-netinst to install over WiFi, I used the default install files, with the following modifications:
installer-config.txt:
packages=nano
rootsize=+3800M
cmdline="dwc_otg.lpm_enable=0 console=serial0,115200 elevator=deadline fsck.repair=yes"
wlan_ssid=TheRoutersSSID
wlan_psk=TheRoutersPassword
Using the UART and a serial cable to my PC, I logged the following during the install, with the network cable unplugged, and just the WiFi dongle inserted. The output to the console is this:
At which point it just hangs.
Then if I plug in the network cable as well, and remove and restore power to the Pi, I get this at the console when installing:
Then I log in, and see what the install gives me from the get-go:
ifconfig -a
eth0 Link encap:Ethernet HWaddr b8:27:eb:25:03:8e
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::ba27:ebff:fe25:38e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:638 errors:0 dropped:0 overruns:0 frame:0
TX packets:127 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41180 (40.2 KiB) TX bytes:11350 (11.0 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1104 (1.0 KiB) TX bytes:1104 (1.0 KiB)
wlan0 Link encap:Ethernet HWaddr 00:0f:13:24:03:94
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
So I run shutdown now, unplug the wired ethernet, and boot up again:
ifconfig -a
eth0 Link encap:Ethernet HWaddr b8:27:eb:25:03:8e
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:0f:13:24:03:94
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
When I run dmesg I get this:
Third: I try to get WiFi working after install. When I got WiFi working on the Raspbian distro via NOOBS, I copied /etc/networks/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf to transfer them to the fresh install of raspberrypi-ua-netinst.
First I add this line to /etc/apt/sources.list:
deb http://archive.raspbian.org/raspbian jessie main contrib non-free
Then I run:
apt-get install usbutils -y
apt-get install wpasupplicant -y
apt-get install wireless-tools -y
And when I copy back the /etc/networks/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf, and run ifup wlan0, it silently completes.
But still, when I run ifconfig -a, it still hasn't connected:
eth0 Link encap:Ethernet HWaddr b8:27:eb:25:03:8e
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:0f:13:24:03:94
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
from raspberrypi-ua-netinst.
Please post the /etc/networks/interfaces you used at the last step.
from raspberrypi-ua-netinst.
/etc/networks/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
/etc/wpa_supplicant/wpa_supplicant.conf:
country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid=TheSSID
psk=ThePassword
}
from raspberrypi-ua-netinst.
WiFi Setup in your fresh installed system
Your /etc/network/interfaces
:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Your /etc/wpa_supplicant/wpa_supplicant.conf
:
country=GB
network={
ssid=<yourSSID>
psk=<yourPass>
}
- You can skip modifying
/etc/apt/sources.list
. Everything needed is already included except the packageswpasupplicant
andfirmware-realtek
.
Now lets have a look at the installation procedure
- The installer-config.txt has to include these four lines:
...
firmware_packages=1
ifname=wlan0
wlan_ssid=<yourSSID>
wlan_psk=<yourPass>
...
- Try again with the missing line and I can see, what's missing when you check console output or dmesg if possible. (Firmware? Modules?)
from raspberrypi-ua-netinst.
It all works! Thank you so much!!
from raspberrypi-ua-netinst.
I don't believe the installer works using a wifi dongle (it was never intended). Using the integrated wifi of model 3 is a unique feature.
But of course, the installed system does without any problems. Glad I could help you.
from raspberrypi-ua-netinst.
Well, it worked for my dongle :) I honestly recommend this installer to anyone - it's something the RPi really needed
from raspberrypi-ua-netinst.
Okay... 😮
Nice to hear. Thanks for report!
from raspberrypi-ua-netinst.
Related Issues (20)
- Doesn't boot reliably on RPi 4B HOT 4
- Adapt the install script for Raspi4 USB mass storage boot, and regenerate the image HOT 1
- Kernel 5.10 issues HOT 1
- Installation works, reinstallation doesn't
- buildroot.sh ends in :(stdin) HOT 1
- Booting release 2.4.0+ (caf7423) on RPi 3B+ using WiFi fails HOT 2
- Build ceases and reboot before post-install.txt executes HOT 1
- cp: cannot stat 'tmp/lib/modules/5.10.17- HOT 6
- Reproducible Installs HOT 3
- Replace existing system HOT 3
- apt list --installed reports testing HOT 3
- How to enable Bluetooth HOT 4
- Selecting a specific version of kernel HOT 1
- Raspbian bullseye - Installation fails "Iek!" HOT 6
- Please add support for bullseye HOT 5
- Raspberry pi Zero 2 W support HOT 3
- Bookworm support HOT 6
- Configuration to disable root HOT 4
- build.sh continues even if cpio command fails
- Use genimage for rootless image generation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raspberrypi-ua-netinst.