Forum › Forums › Official Releases › antiX-19 “Marielle Franco, Hannie Schaft, Manolis Glezos, Grup Yorum, Wobblies” › [SOLVED] Why is wlan0 blocked & DNS server doesn’t work in 19.2
- This topic has 13 replies, 4 voices, and was last updated Apr 29-11:55 pm by betman.
-
AuthorPosts
-
April 12, 2020 at 7:43 pm #34619
Anonymous
In 19.2, I discovered that the wireless is (pre)blocked by rfkill. So I unblocked with
sudo rfkill unblock allthen reconfigured the network using Cine. So now I’m on my local network, but cannot get beyond the router. I can ping the gateway at 192.168.1.254, which is usually also the local DNS when you grab your IP address using DHCP.
Somewhere, I read a suggestion to populate the DNS field with 8.8.8.8, which seems like a ridiculous suggestion, as this is never required with any other version of Linux.
19.1 worked fine, and I (thankfully) still have a copy of the ISO. It seems like 19.2 is not ready for prime time.
April 12, 2020 at 11:33 pm #34620ModeratorBobC
::anticapitalista posted fixed ISO files for a WiFi problem, so I would suggest making sure you are working from the fixed one, and follow his instructions.
Myself, I boot up and immediately connect with the connman version, turn on wifi, which maybe unblocks it, i don’t know, and then when i see the scan list, i click to connect to it, etc. I had troubles when I tried it with ceni. See threads by AABB on the subject.
April 13, 2020 at 12:19 am #34621Anonymous
::Thanks, I had thought I was working from the most recent version. Connman seems to be disabled by default.
April 13, 2020 at 12:23 am #34622ModeratorBobC
::Just to be sure, I downloaded a fresh copy of antiX-19.2 at https://sourceforge.net/projects/antix-linux/files/Final/antiX-19/antiX-19.2_x64-full.iso/download and booted it up from flashdrive, clicked the eth1 monitor window (3rd one to the left of the date on the bottom status bar), and that brought up connman. I turned wifi on. The scan list came up. I clicked the wireless tab. I clicked the router I wanted to connect to. I clicked connect. I typed in the password. I clicked ok. It went online and works.
PS: i was typing when you posted that. Hopefully you will get it working ok.
- This reply was modified 3 years ago by BobC.
April 13, 2020 at 3:14 am #34624Forum Admin
anticapitalista
::Read this post – https://www.antixforum.com/forums/reply/34188/
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 13, 2020 at 5:33 pm #34647Anonymous
::Thank you, BobC and anticapitalista. Now I can explain the discrepancies between your results and my own.
In 19.2 connman is *only* included in the full ISO, not in the base, or, I assume, core. As BobC explained, connman disables the soft-block, and correctly sets up the Internet for me. I can ping the router, or an outside address, or update the APT, etc.
It is not clear to me why wlan is soft-blocked, but I have no issue, since I can easily unblock it. What is less clear is why wpa_supplicant would *already* be running in the background, as it is useless without being properly configured.
In 19.1, connman was available on the base ISO, and it was the first tool I used to configure the network, so I never ran into the other issues.
I know full-well how to manually configure wpa_supplicant, but I although I could access my wireless (after first killing the running process), I could never get past the router to the outside world.
This means that only the full ISO enables me to get online, via running connman.There *is* a way! I followed the hints provided by BobC and anticapitalista. A few hacks are involved, and I will try to follow up later. Thank you again!
Thanks, and I hope these comments are helpful.
~James
April 13, 2020 at 8:54 pm #34651ModeratorBobC
::Next time please say what version you are using and what you are running it on if you are having problems to make it easier to help.
I downloaded a fresh copy of https://sourceforge.net/projects/antix-linux/files/Final/antiX-19/antiX-19.2.1_386-base.iso/download and loaded it to a flashdrive using Live USB maker from Control Centre Disks tab.
I booted it, took the defaults and the IceWM desktop came up. I right clicked the Network Icon at the bottom on the taskbar next to the Volume icon. I left clicked WiFi on and Wired off. I then left clicked the Network icon and held it down, and in a few seconds the scan list came up. I moused up to my connection and let go, and the password prompt came up. I left clicked into the box, typed in the password and clicked Apply, and it connected.
Maybe that will work on yours, too…
PS: I looked at ~/.desktop-session/startup and it runs connman-ui-gtk to put the network icon in the tray. When 19 was in Alpha I had troubles trying to do it all manually, and since connman was pretty efficient memory wise, I switched to always using it. I can’t help with the manual route on 19.
- This reply was modified 3 years ago by BobC.
April 14, 2020 at 2:41 am #34657Anonymous
::BobC, the hints from you and anticapitalista helped me achieve my objective. I didn’t mention the full vs base to start with because I didn’t realize at first that connman was missing from base. I’ll try to come back later and write a short tutorial. it just takes a few simple hacks.
Thanks!
April 14, 2020 at 2:43 am #34658Anonymous
::Yes, this works! It requires a few more simple hacks, like unblobking wlan and killing wpa_supplicant prior to using cine. I’m very impressed with the product and the support.
Thank you. ~James
April 14, 2020 at 2:58 am #34660ModeratorBobC
::Please post it when you can. It’s always good to have more than one way to do things as long as its been tested to work reliably. I was looking at Ceni one time, and if I recall, it was a big script.
April 14, 2020 at 3:16 am #34661Forum Admin
anticapitalista
::BobC, the hints from you and anticapitalista helped me achieve my objective. I didn’t mention the full vs base to start with because I didn’t realize at first that connman was missing from base. I’ll try to come back later and write a short tutorial. it just takes a few simple hacks.
Thanks!
Connman IS installed on base. base uses connman-ui-gtk (gui) but full uses cmst as its gui.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
April 14, 2020 at 1:38 pm #34694Anonymous
::BobC, the hints from you and anticapitalista helped me achieve my objective. I didn’t mention the full vs base to start with because I didn’t realize at first that connman was missing from base. I’ll try to come back later and write a short tutorial. it just takes a few simple hacks.
Thanks!
Connman IS installed on base. base uses connman-ui-gtk (gui) but full uses cmst as its gui.
My bad. You’re correct! I’ve learned so much in just a few days! I was *so* close… all I had needed to do was setup my resolv.conf. I’ve gotten so spoiled by distros which do this for me, I had forgotten the basics. antiX is like a tinkertoy set for kids. I hope I can contribute in some way. Thanks again for the guidance.
~James
April 14, 2020 at 6:30 pm #34739Anonymous
::[Tutorial: Using Cine instead of ConnMan to get online]
Note: This procedure is intended for base-ISO users. Removing connman is not recommended in the full-ISO.
Boot up antiX. When you get to the main desktop, enter these commands in a terminal:
sudo apt-get --purge autoremove connman -y sudo rfkill unblock all sudo rm /etc/resolv.conf #probably got removed on line 1 above sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf sudo killall wpa_supplicantNow click on Cine from the Control Centre, Network, and select “Reconfigure wlan0”. Click on “Scan”, choose your network from the list, then enter the pre-shared key, and click on “Accept”. Click “Accept” again, and run-parts will bring up your network. Click “Exit”, then close Control Centre.
Test your connection with
ping yahoo.comor some other way, like
sudo apt-get updateThe next time you bootup, if you’ve enabled persistence, you’ll already be online! I had to reconfigure one extra time before the persistence “kicked in”. Let me know how this works for you.
April 29, 2020 at 11:55 pm #35457Memberbetman
-
AuthorPosts
- You must be logged in to reply to this topic.