00:00hello friends I'm having in this tab of this terminal terminal emulator an SSH connection
00:09to my Alpine Linux it's a permanent and stay installation but on a USB flash drive it's
00:17connected to the Wi-Fi using a piece of software called IWD I wanted to share with you how to do it
00:25if we want to ping a specific website like for example google.com it pings and it's connected
00:36to the internet first of all you need to connect your Alpine system to the internet somehow either
00:44by an ethernet cable or by using the extended live media and WPA supplicant by following the steps in
00:58a video that I made that I'm gonna put in the description or in the cards
01:04after you connect to the internet the only command that you need to run
01:07to install this piece of software online the only command that you need to run online is
01:13do as apk add iwd the password here you run this command as root do as is the
01:27default pseudo equivalent package for Alpine let me clear out the screen now make sure that you are
01:38that you are connected to the internet when you want to install IWD I'm not sure if IWD is
01:43compatible with all the Wi-Fi adapters or only with Intel in case it's not compatible with the other adapters
01:54I'm sorry for that the next command should be do as rc service
02:03IWD start it has already been started for me otherwise for you it will start it you can check if it is started by running rc status it will give you all the all the started daemons and services and you can see here that IWD is started
02:25there are two ways to run the commands on IWD the first one is to go to IWCTL which is going to give you a
02:40dedicated shell for IWD from there you run all the commands or you run the same commands
02:48but with IWCTL in front of each command instead of going to IWCTL and you type the commands without
02:58IWCTL you can from the normal shell type IWCTL and your commands
03:06you need to know what is your wireless interface such thing can be done by running IPA
03:13IPA in my case it's WLAN 0 you can also check by running IWCTL station
03:24or maybe show
03:27yeah it's not a valid command
03:30so
03:32I don't think that this command will show you what is your wireless interface
03:36it will show you the details after you know your wireless interface it's the IWCTL station
03:44WLAN 0 or your wireless interface here show and it will give you a lot of details about it
03:53like the state the connected network etc
04:01you can run IWCTL station and your wireless interface and then scan to see what are or to scan for the available
04:13wireless networks and then to get what are the available wireless networks
04:20you can run IWCTL station and your wireless interface and then get networks
04:30it should give you a list of the available networks
04:35I'm not gonna run this command since
04:38I don't want you to see the full names of my neighbors
04:42the next command is IWCTL station WLAN 0 or your wireless interface connect
04:53and then the network ID in my case it's D-link underscore AF
05:01in my case it's connected to it and it knows its password for you it will ask you for the password you type it
05:08and you should be connected connected to it
05:13connecting to the wireless network using this method doesn't give you an IP address in such case you need
05:22you need to run do as in case you are intrude UDHC UDHCP
05:35C I guess
05:36dash I and then your wireless interface in my case it's WLAN 0
05:42this command will give you UDHCP there is an added C here
05:47yeah and then dash I and then the wireless interface this will make your computer get an IP address
05:58which will which should be the last step to connect successfully to that wireless network
06:05and maybe the internet
06:06and it didn't do anything different from what it did before it simply got the same IP address
06:18that was how you connect to wireless networks using IWD on Alpine Linux I'm signing out please
Be the first to comment