[solved]How can I turn my LM into wifi hotspot?

Questions about WIFI networks and devices
Forum rules
Before you post please read this

Re: How can I turn my LM into wifi hotspot?

Postby PatH57 on Sun Aug 31, 2014 1:55 pm

Jahid,

you have downgraded totally your kernel, never ever do that. What's the point of giving you Mint 17 with a tested kernel over 3.13 if you use 3.5 that's even lower then Mint 13
The driver needs to be adapted to your kernel not the other way around, it's a miracle that other things are working. It's like buying a new car ,removing the engine and putting an engine from the 60's in it.
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 12
Level 12
 
Posts: 4178
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Linux Mint is funded by ads and donations.
 

Re: How can I turn my LM into wifi hotspot?

Postby jahid on Sun Aug 31, 2014 2:04 pm

PatH57 wrote:Jahid,

you have downgraded totally your kernel, never ever do that. What's the point of giving you Mint 17 with a tested kernel over 3.13 if you use 3.5 that's even lower then Mint 13
The driver needs to be adapted to your kernel not the other way around, it's a miracle that other things are working. It's like buying a new car ,removing the engine and putting an engine from the 60's in it.


:lol: :lol: :lol: I know that....
but what choice did i have !, I was completely dependent on wifi until I bought that broadband modem last week. :(

I also tested many kernels (different versions of 3.5) and finally got that one working with everything...
jahid@HP ProBook 440 G1 Laptop
User avatar
jahid
Level 5
Level 5
 
Posts: 831
Joined: Sat Dec 07, 2013 4:07 pm
Location: Khulna, Bangladesh

Re: How can I turn my LM into wifi hotspot?

Postby PatH57 on Sun Aug 31, 2014 2:37 pm

well one thing is sure hotspot is not going to work unless you have>3.11
try ics. it it could work with a wifi router and your broadband stick.
3.5 will have problems with wpa_supplicant anyway, maybe no encryption or wep
or go back to 3.13 or 3.15 (3.16 is still a bit new) and then hotspot should work.
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 12
Level 12
 
Posts: 4178
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: How can I turn my LM into wifi hotspot?

Postby jahid on Sun Aug 31, 2014 5:06 pm

I have installed new driver and using default kernel now.

Now android can authenticate my hotspot and connects fine but no internet. speed meter in android shows data transmission on low level (1,2kB/s) but I can't browse anything, play store not working.

What may cause this problem?

N.B: I have to disconnect and reconnect the broadband modem every time after running sudo ap-hotspot start because it renders my internet connection unusable..
jahid@HP ProBook 440 G1 Laptop
User avatar
jahid
Level 5
Level 5
 
Posts: 831
Joined: Sat Dec 07, 2013 4:07 pm
Location: Khulna, Bangladesh

Re: How can I turn my LM into wifi hotspot?

Postby PatH57 on Mon Sep 01, 2014 2:26 am

the script used is basic, it works well in these cases that I could test:
- wifi 1 internet, wfifi 2 AP mode
-eth internet , wifi hotpsot

never had to use a broadband to share.
run the wifi script again and post back.
Also check what ip and settings the android unit is getting.
you could try to use NAT between the wwan and wlan cards (not sure how well hotspot can handle this)
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 12
Level 12
 
Posts: 4178
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: How can I turn my LM into wifi hotspot?

Postby jahid on Mon Sep 01, 2014 5:57 am

When i connected the modem with the software that came with the modem, android was able to connect to the wifi but could not connect to the internet.

I have uninstalled the software, actually I have uninstalled the whole linux system because after uninstalling the software it seemed that the effect of that software was still remaining and the network-manager couldn't connect the modem as it normally do.

Now I am connecting the modem with network-manager and the hotspot working fine and android getting connected and surfing net.... :D

Thank you very much, for all your help, PatH57... :D
jahid@HP ProBook 440 G1 Laptop
User avatar
jahid
Level 5
Level 5
 
Posts: 831
Joined: Sat Dec 07, 2013 4:07 pm
Location: Khulna, Bangladesh

Re: [solved]How can I turn my LM into wifi hotspot?

Postby PatH57 on Mon Sep 01, 2014 6:03 am

:lol: always keep it simple.
Glad it worked and by the way I love Bengali Kita (had a taste of it when I lived in Saudi Arabia)
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 12
Level 12
 
Posts: 4178
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: [solved]How can I turn my LM into wifi hotspot?

Postby jahid on Mon Sep 01, 2014 6:36 am

New problem arose...

Everything was okay, but frequent disconnection problem was notified though the android speed meter showed continuous speed. But after some time it got completely disconnected. I followed the second link
https://help.ubuntu.com/community/Inter ... ionSharing
and learned that the dnsmasq which is installed with ap-hotspot conflicts with network manager.
jahid@HP ProBook 440 G1 Laptop
User avatar
jahid
Level 5
Level 5
 
Posts: 831
Joined: Sat Dec 07, 2013 4:07 pm
Location: Khulna, Bangladesh

Re: [solved]How can I turn my LM into wifi hotspot?

Postby PatH57 on Mon Sep 01, 2014 6:44 am

you will have to send me some logs.... I really need to see the exact error messages.
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 12
Level 12
 
Posts: 4178
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: [solved]How can I turn my LM into wifi hotspot?

Postby jahid on Mon Sep 01, 2014 8:29 am

PatH57 wrote:you will have to send me some logs.... I really need to see the exact error messages.

There was no error message. The network manager was constantly showing notification "new device disconnected from the hotspot" and "new device connected to the hotspot" one after another. And after approximately 1 minute the hotspot was no longer found (android couldn't find the hotspot anymore).
jahid@HP ProBook 440 G1 Laptop
User avatar
jahid
Level 5
Level 5
 
Posts: 831
Joined: Sat Dec 07, 2013 4:07 pm
Location: Khulna, Bangladesh

Re: [solved]How can I turn my LM into wifi hotspot?

Postby PatH57 on Mon Sep 01, 2014 8:39 am

at least we know it's android specific
any other devise not android you can try to connect to your now new hotspot. (and again it's only a software hotspot so expect items not to work as of a router dedicated sharing)
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 12
Level 12
 
Posts: 4178
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Re: [solved]How can I turn my LM into wifi hotspot?

Postby jahid on Mon Sep 01, 2014 8:46 am

kde network manager (plasma-nm) seems to do the trick. But connection strength is not that good.. phone is sitting on laptops lap, but still the strength is near 0%, speed is good though...

can i make the plasma-nm default network manager in cinnamon and get rid of the old one? I don't know if that will solve anything at all...though..
jahid@HP ProBook 440 G1 Laptop
User avatar
jahid
Level 5
Level 5
 
Posts: 831
Joined: Sat Dec 07, 2013 4:07 pm
Location: Khulna, Bangladesh

Re: [solved]How can I turn my LM into wifi hotspot?

Postby jahid on Mon Sep 01, 2014 10:20 am

kde network manager sustains for a little long but in the end it drops too....
jahid@HP ProBook 440 G1 Laptop
User avatar
jahid
Level 5
Level 5
 
Posts: 831
Joined: Sat Dec 07, 2013 4:07 pm
Location: Khulna, Bangladesh

Re: [solved]How can I turn my LM into wifi hotspot?

Postby PatH57 on Tue Sep 02, 2014 2:31 am

check if the stick has power management on, this could be one part of the problem.
People disagree with me. I just ignore them.
(Linus Torvalds, regarding the use of C++ for the Linux kernel.)

Please Add [Solved] to the topic-title of your first post when appropriate so others know they might find a solution here.
User avatar
PatH57
Level 12
Level 12
 
Posts: 4178
Joined: Tue Mar 25, 2014 12:11 pm
Location: here and there

Linux Mint is funded by ads and donations.
 
Previous

Return to Wireless

Who is online

Users browsing this forum: No registered users and 7 guests