Skip to content

Commit e8f7460

Browse files
committed
wpa_supplicant fixes
1 parent bbb71c1 commit e8f7460

File tree

13 files changed

+50
-64
lines changed

13 files changed

+50
-64
lines changed

alpine-minirootfs/etc/apk/world

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ dmidecode
88
dropbear
99
dropbear-ssh
1010
efibootmgr
11-
iwlwifi-1000-ucode
12-
iwlwifi-5000-ucode
13-
iwlwifi-6000-ucode
1411
libc-utils
1512
nano
1613
openrc

alpine-minirootfs/etc/issue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| \\__/'---'\\__/ |
1212
|_______________|
1313

14-
OneFileLinux.efi v0.3.1 on \l
14+
OneFileLinux.efi v0.3.2 on \l
1515

1616
Login name: root
1717

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
echo "Weclome to One File Linux!
2+
To report a bugs: https://github.com/zhovner/OneFileLinux
23
3-
Feel free to report a bugs: https://github.com/zhovner/OneFileLinux
4-
5-
You can change console font size: fontsize [1-9]
4+
To change console font size: fontsize [1-9]
5+
To connect WiFi read: /usr/share/doc/wifi-howto.txt
66
77
"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ctrl_interface=/run/wpa_supplicant
2+
update_config=1

alpine-minirootfs/lib/apk/db/installed

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -7827,60 +7827,3 @@ Z:Q1wMox4t25srXLr8PrpmMW6DaIuAg=
78277827
R:wpa_cli
78287828
Z:Q1brqUStshPKyCwZa+p6NE4XqR5/Q=
78297829

7830-
C:Q1MbzIJ+wDbnwrQhE/nU7RC915WOU=
7831-
P:iwlwifi-1000-ucode
7832-
V:39.31.5.1-r0
7833-
A:x86_64
7834-
S:177777
7835-
I:352256
7836-
T:Intel WiFi Link 1000BGN Microcode
7837-
U:http://intellinuxwireless.org/?p=iwlwifi
7838-
L:custom
7839-
o:iwlwifi-1000-ucode
7840-
m:Natanael Copa <ncopa@alpinelinux.org>
7841-
t:1430319498
7842-
c:b256b90e38c8edc99a79b140bb248dbfa256a7af
7843-
F:lib
7844-
F:lib/firmware
7845-
R:iwlwifi-1000-5.ucode
7846-
a:0:0:755
7847-
Z:Q1qCS7XxCyjOcc75GDbL0ldg6ptKM=
7848-
7849-
C:Q1DONuu/TZwgQd9+1nfEiTua4jViQ=
7850-
P:iwlwifi-6000-ucode
7851-
V:9.221.4.1-r0
7852-
A:x86_64
7853-
S:213700
7854-
I:466944
7855-
T:Intel 6000 Series Wi-Fi Adapters Microcode
7856-
U:http://intellinuxwireless.org/?p=iwlwifi
7857-
L:custom
7858-
o:iwlwifi-6000-ucode
7859-
m:Natanael Copa <ncopa@alpinelinux.org>
7860-
t:1430319212
7861-
c:a7c2d41208a635e0194c0382768390a3896d3c60
7862-
F:lib
7863-
F:lib/firmware
7864-
R:iwlwifi-6000-4.ucode
7865-
a:0:0:755
7866-
Z:Q1ozeSfRSb97IHL3n4MlAR/ls9rWg=
7867-
7868-
C:Q1ZKl/Deellnx39SCjZJxq9amOfp0=
7869-
P:iwlwifi-5000-ucode
7870-
V:8.83.5.1-r0
7871-
A:x86_64
7872-
S:177873
7873-
I:356352
7874-
T:Intel WiFi 5100AGN, 5300AGN, and 5350AGN Microcode
7875-
U:http://intellinuxwireless.org/?p=iwlwifi
7876-
L:custom
7877-
o:iwlwifi-5000-ucode
7878-
m:Natanael Copa <ncopa@alpinelinux.org>
7879-
t:1430312177
7880-
c:e419ba82163ba01b8e9ff60c9f523348af5a4924
7881-
F:lib
7882-
F:lib/firmware
7883-
R:iwlwifi-5000-5.ucode
7884-
a:0:0:755
7885-
Z:Q1Ir9gk+2CBAJ8wyB8c50sq5zJLqM=
7886-
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
###########################################
2+
# How to connect to WiFi from command line
3+
###########################################
4+
5+
6+
7+
# Start wpa_supplicant service
8+
# This will automatically enabling all wireless interfaces
9+
$ /etc/init.d/wpa_supplicant start
10+
11+
# Run wpa_supplicant interactive console
12+
$ wpa_cli
13+
14+
# Scan wifi networks
15+
> scan
16+
17+
> scan_results
18+
19+
# Create new empty network profile
20+
> add_network
21+
22+
# Set SSID on your network
23+
> set_network 0 ssid "MYSSID"
24+
25+
# For encrypted network
26+
> set_network 0 psk "MyPa$$word123"
27+
28+
# For open network
29+
> set_network 0 key_mgmt NONE
30+
31+
> enable_network 0
32+
33+
> quit
34+
35+
36+
# Request ip address via DHCP
37+
udhcpc -i wlan0
38+
39+
# Or assing ip address manually
40+
ip addr del 192.0.2.10/24 dev wlan0

chroot.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
touch alpine-minirootfs/dev/urandom
3+
mount --bind /dev/urandom alpine-minirootfs/dev/urandom
4+
chroot alpine-minirootfs /bin/ash

0 commit comments

Comments
 (0)