You are not logged in.
I am using Debian Jessie. I want to connect to the internet using
Samsung Galaxy J2 wifi hotspot. The network manager applet finds the
wireless hotspot AndroidAP but altough I enter the correct password, it
keeps asking me for the password again after a short time. USB
tethering works but I want to use wifi hotspot instead because I need
the only two usb ports I have. Any help will be greatly appreciated.
Offline
first of all we have to find out if the source of the problem is in your debian machine or in the phone.
when it asks for the password again, does that mean it disconnects, then wants to reconnect? how strong is the signal?
can you test this with a different wifi source?
does the frequency of password requests decrease when you put the phone very close to the computer's wifi antenna?
have you tried using your phone's wifi hotspot with other machines or operating systems? does it work more reliably there?
Offline
Thank you very much for your reply. I am using a usb wifi dongle that I tested and it's working with other wifi hotspots. I'm trying to use network-manager to connect to my wifi mobile hotspot. the phone I'm using is Samsung Galaxy J2 (Android 5)
Offline
yes, but:
when it asks for the password again, does that mean it disconnects, then wants to reconnect? how strong is the signal?
does the frequency of password requests decrease when you put the phone very close to the computer's wifi antenna?
have you tried using your phone's wifi hotspot with other machines or operating systems? does it work more reliably there?
(you only answered 1 of my questions so far)
Offline
when it asks for the password again, does that mean it disconnects, then wants to reconnect? how strong is the signal?
no, it does not connect at all. The signal is strong. I guess the problem is with password authentication.
does the frequency of password requests decrease when you put the phone very close to the computer's wifi antenna?
The phone is on the desk very close to the PC
have you tried using your phone's wifi hotspot with other machines or operating systems? does it work more reliably there?
Yes, I tried it and it's working on other windows systems and with other phones. As I said earlier, it might be an authentication problem and security settings of the nm-applet.
I want to know which security settings and mode work with android wifi mobile hotspots.
Offline
My android security is wpa2 psk but there isn't such an option in nm-applet. Could this be the problem?
Offline
^ No, NetworkManager will connect to WPA2 secured access points.
Are you sure that the password is correct?
To eliminate PEBKAC, attempt to connect in the live session on the BunsenLabs ISO
Offline
in addition to what HoaS said:
try temporarily disabling androids wifi security, can you connect reliably then?
(this is not a solution, only troubleshooting)
i still didn't understand, have you connected to other wifi networks with this same computer, under bunsenlabs?
i think it's time to explore your computer's side more.
please post the output requested here:
https://forums.bunsenlabs.org/viewtopic.php?id=24
Offline
The OP has an active thread over at FDN on the same subject:
http://forums.debian.net/viewtopic.php?f=5&t=126660
Just in case the solution is found there.
Offline
both laptops ive run BL and other NiX os's on have no problems connecting to my hotstop. i dont pay for internet service, i have t-mobile with a fully unlimited plan (grandfathered) and a rooted nexus 6 phone with custom rom that hides from t-mobile the fact that im hotspotting. also workes fine on my wifes galaxy s4 also rooted and flashed with a custon rom.
have you looked into rooting options with your phone? it could be your carrier blocking it when it sees its hotspotting. most carriers make you pay extra to hot spot and limit the data. rooting and flashing custom roms is something i know alot about.
check out Xda Developer Forums theres a wealth of knowledge there.
i remember in both the nexus 6 and the galaxy s4 edits had to be made to the SQL database and the Apn settings aswell as a build prop edit. i forget which phone i had to do it manually and whch it was all done by the custom rom.
Last edited by sinister (2016-01-22 18:34:01)
Offline
^ No, NetworkManager will connect to WPA2 secured access points.
yes, but it's strange why it can't connect to android wifi hotspot
Are you sure that the password is correct?
yes, I am pretty sure.
To eliminate PEBKAC, attempt to connect in the live session on the BunsenLabs ISO
I will try and provide you with feedback
Offline
in addition to what HoaS said:
try temporarily disabling androids wifi security, can you connect reliably then?
(this is not a solution, only troubleshooting)
I tried disabling android wifi security and it connects for three seconds then disconnects. I am using network-manager and dhcp-client ( a network manager dependency)
I still didn't understand, have you connected to other wifi networks with this same computer, under bunsenlabs?
i think it's time to explore your computer's side more.
please post the output requested here:
https://forums.bunsenlabs.org/viewtopic.php?id=24
Yes, it connects perfectly with other devices. Except android mobile hotspot.
Last edited by abdelkhalak (2016-01-23 01:59:44)
Offline
Here is the output requested:
$ uname -rv
3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02)
$ lspci -knn | grep -EiA2 net
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM-3 Gigabit Network Connection [8086:10de] (rev 02)
Subsystem: Hewlett-Packard Company Device [103c:3034]
Kernel driver in use: e1000e
$ dmesg|grep -Ei 'wlan|firmw|dhc'
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-686-pae root=UUID=014632d9-57cd-48c7-a02d-dc974508e9df ro bdev=sda2 fromiso=/jessie/firmware-8.1.0-i386-netinst.iso quiet
[ 0.208550] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[ 2.263050] usb 2-1: Product: USB WLAN
[ 10.206120] usb 2-1: firmware: direct-loading firmware zd1201.fw
[ 10.673547] usb 2-1: wlan0: ZD1201 USB Wireless interface
[ 10.740129] systemd-udevd[258]: renamed network interface wlan0 to wlan1
[ 483.121271] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 493.490650] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 497.100275] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 549.470592] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 549.477507] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 549.590693] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 551.800281] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 629.558593] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 629.565622] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 629.678817] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 631.900041] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 741.278302] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 741.410300] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 741.616743] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
$ sudo cat /var/log/syslog | grep -Ei 'net|wpa|dhc'
$ sudo rfkill list
MOD EDIT: added [ code ] tags
Last edited by damo (2016-01-23 03:33:18)
Offline
$ lspci -knn | grep -EiA2 net 00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM-3 Gigabit Network Connection [8086:10de] (rev 02) Subsystem: Hewlett-Packard Company Device [103c:3034] Kernel driver in use: e1000e
Are you sure that is the *full* output of that command?
There is no wireless card listed but "wlan1" shows up in the dmesg output
Offline
^ Poster has usb dongle
Notice udev has changed wlan0 to wlan1.
I remember seeing that in the past.
Sth about retaining seen devices.
I don't remember how you switch that off though. In udev rules?
Edit:
Found it.
Clear file /etc/udev/rules.d/70-persistent-net.rules
Offline
^ Poster has usb dongle
Good catch -- thanks!
@OP: Please post the output of:
lsusb
ip a
Offline
Clear file /etc/udev/rules.d/70-persistent-net.rules
Remove everything from the file except the comments, then reboot.
Perhaps user has set up his configuration for the connection associated with wlan0.
Network-manager does not find a config associated with wlan1 -> no password -> asks for password.
Offline
another thing i noticed:
dmesg output shows 'IPv6:' - maybe op should try and disable ipv6?
Offline
maybe op should try and disable ipv6?
+1
@OP: Highlight the BunsenLabs GRUB menu entry and press "e" then add this to the end of the line that starts with "linux":
ipv6.disable=1
Then press <Ctrl>+x (at the same time) to boot the modified entry.
If that helps, make it permanent by adding the above parameter between the quotation marks on the GRUB_CMDLINE_LINUX line in the file at /etc/default/grub then save the file and run:
sudo update-grub
Offline
^ HoaS, isn't it enough to disable it from "edit connections" in nm-applet?
Offline