I'm pretty new to linux, please forgive my ignorance.
In lieu of currently having no internet plan, I am attempting to use my linux machine on my iphone hotspot. Every time I connect to it, it drops immediately. I was told to use and attempted to install networkmanager from a tar file on USB and hit a brick wall at 'configure error: no acceptable C compiler found in $PATH'
Is there a way I can fix this issue with connman?
Thanks!
just to add a tiny bit of colour to this if its the same person who posted on reddit - this is a bog standard artix xfce install, and the bit that's missing is any additional packages/config required to get an i phone hot spot working on it. So, if anyone uses xfce and an i-phone for a hotspot, how'd you get it working basically! Ta, G.
Before blaming connman, can you try another ISO (say, Cinnamon) which uses NetworkManager and see if it's indeed a software issue and not your wifi card's quirk? You don't have to install it, just a live session would do. If NM works, we can guide you on which packages you need to download and install, no tars and configures.
I connected to a hotspot on my windows desktop and installed the networkmanager package, tried to enable it, and it enabled but is inactive and I cannot activate networking using nmcli n on. I get this error:
failed to set networking: Method "Enable" with signature "b" on interface "org.freedesktop.NetworkManager" doesn't exist
I tried using nmtui and got this error:
Unable to add new connection: Method "AddConnection" with signature "a{sa{sv}}" on interface "org.freedesktop.NetworkManager.Settings" doesn't exist
When I try nmcli g, I get: WIFI-HW missing, WIFI disabled.
Is there any way to get it to recognize my wifi card or should I do a Cinnamon live session and see if it works there first?
With connman, is connman-openrc installed and running? I have used connman along with connman-gtk gui app and had no problems with connecting to my android phone hotspot.
I usually 1st check the SSID connection-
ACER5:[dxrobertson]:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:"HAL9000M"
Mode:Managed Frequency:2.462 GHz Access Point: 82:39:CF:A8:71:67
Bit Rate=58.5 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=48/70 Signal level=-62 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:181 Missed beacon:0
Then check to see if an IP was leased:
ACER5:[dxrobertson]:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 08:97:98:db:a8:ef brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether d8:f3:bc:34:3d:47 brd ff:ff:ff:ff:ff:ff
inet 192.168.43.179/24 brd 192.168.43.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 2600:381:c594:dc53:daf3:bcff:fe34:3d47/64 scope global dynamic mngtmpaddr
valid_lft 2834sec preferred_lft 2834sec
inet6 fe80::daf3:bcff:fe34:3d47/64 scope link
valid_lft forever preferred_lft forever
ACER5:[dxrobertson]:~$
see inet 192.168.43.179/24 brd 192.168.43.255 down under the wlan0 section.
Not to create even more confusion, but I recently installed the iwd wifi connection package (iwd, iwd-openrc, and iwgtk) and found it much cleaner and easy to use. wpa-supplicant not needed, connection to WPA wifi is a 1 liner.
I just did a live session of Cinnamon, it connected to my iPhone hotspot with no issues. I have NetworkManager installed and running on xfce but my issue now is that it won't recognize my wireless device, so no connections can be made. Why would this be, is there an easy way to fix this? I like xfce because of how little resources it uses but cinnamon isn't so bad, so if it is a PITA then I'll just stick with Cinnamon.
This is Linux, not windows. You can get XFCE too in your Cinnamon installation:
sudo pacman -Sy xfce4 xfce4-goodies
Log out, select your new XFCE4 session, log in and profit. If you need the disk space, you can uninstall the cinnamon packages later.
Oh cool, okay I will do that. Thanks for the help!
Any time.