LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Network manager problem... (http://www.linuxquestions.org/questions/slackware-installation-40/network-manager-problem-4175467736/)

puru 06-28-2013 02:36 PM

Network manager problem...
 
Hi, I have some weird problem with network manager on slackware. When i plug-in vodafone 3G dongle, the network manager on slackware 14 (32 bit-xfce) doesnot show entry in the network manager. If i run wvdial it doesnot detect any modem. The same dongle works like charm on ubuntu. Surprisingly if i use the same dongle on ubuntu first, then reboot into slackware, the network manager in slackware shows the device and i'm able to connect. When connected wvdial identifies the device.

Another problem is if i disconnect the internet then i could not reconnect eventhough entry corresponding to vodafone is shown in network manager applet.

At various times i tried to put my question in different ways about using 3G datacards on linux but i have not came across any comprehensive tutorial/procedure that would ensure i will get connection irrespective of the distro I'm using.

Could any one help me with a generic procedure(even if it used command line and no GUI) to connect a 3G dongle on linux? This would greatly help me learn about linux. Thanks for the help.

TB0ne 06-28-2013 03:07 PM

Quote:

Originally Posted by puru (Post 4980366)
Hi, I have some weird problem with network manager on slackware. When i plug-in vodafone 3G dongle, the network manager on slackware 14 (32 bit-xfce) doesnot show entry in the network manager. If i run wvdial it doesnot detect any modem. The same dongle works like charm on ubuntu. Surprisingly if i use the same dongle on ubuntu first, then reboot into slackware, the network manager in slackware shows the device and i'm able to connect. When connected wvdial identifies the device.

Not surprising at all. Chances are that Ubuntu is running usb_modeswitch on the device, and 'flipping' it to be a modem...which Slackware then recognizes. Ubuntu is a bit more user-friendly than Slackware is. Have you tried running/installing usb_modeswitch in Slackware??
Quote:

Another problem is if i disconnect the internet then i could not reconnect eventhough entry corresponding to vodafone is shown in network manager applet.
Right...because the device reverts back to being a CD-ROM device which is NOT a modem, so it can't be used for connections any longer.
Quote:

At various times i tried to put my question in different ways about using 3G datacards on linux but i have not came across any comprehensive tutorial/procedure that would ensure i will get connection irrespective of the distro I'm using.

Could any one help me with a generic procedure(even if it used command line and no GUI) to connect a 3G dongle on linux? This would greatly help me learn about linux. Thanks for the help.
You were directed to a tutorial before in another of your threads. The typical procedure is to run usb_modeswitch, then wvdialconf to configure the device, then wvdial to connect. Or you use whatever GUI based network manager, that's your call.

puru 08-20-2013 01:03 PM

Thanks for reply TBOne. I have some luck connecting the internet using command line but not complete success. Previously the problem was the dongle was not detected in the network manager. But now the network manager shows and entry. What i have done is as follows.
1. Connect the dongle and run the lsusb to check whether it is identified. The entry is shown as:
Code:

Bus 001 Device 009: ID 12d1:1526 Huawei Technologies Co., Ltd.
2. Then i run the command
Code:

usb_modeswitch --default-vendor 12d1 --default-product 1526 --message-content 55534243123456780000000000000011062000000100000000000000000000
3. This changes the lsubs result to
Code:

Bus 001 Device 009: ID 12d1:14cf Huawei Technologies Co., Ltd.
4.After that i run wvdial the message about ppp daemon died, exit code 16 is displayed.
After this although internet is not connected, i can connect it in the network manager.

Could anyone please tell me what is wrong here?

TB0ne 08-20-2013 01:28 PM

Quote:

Originally Posted by puru (Post 5012591)
Thanks for reply TBOne. I have some luck connecting the internet using command line but not complete success. Previously the problem was the dongle was not detected in the network manager. But now the network manager shows and entry. What i have done is as follows.
1. Connect the dongle and run the lsusb to check whether it is identified. The entry is shown as:
Code:

Bus 001 Device 009: ID 12d1:1526 Huawei Technologies Co., Ltd.
2. Then i run the command
Code:

usb_modeswitch --default-vendor 12d1 --default-product 1526 --message-content 55534243123456780000000000000011062000000100000000000000000000
3. This changes the lsubs result to
Code:

Bus 001 Device 009: ID 12d1:14cf Huawei Technologies Co., Ltd.
4.After that i run wvdial the message about ppp daemon died, exit code 16 is displayed.
After this although internet is not connected, i can connect it in the network manager.

Could anyone please tell me what is wrong here?

So, you followed the "usb_modeswitch" instructions (partially), and got it to work? Yes, that's to be expected.

And again, just run "usb_modeswitch". That's it...nothing else. Use network manager, wvdial, or whatever else you want after that. Again, you were pointed to a tutorial before in your other thread, and there are MANY that are easily found, several that even address the message you said you got:
http://dyenibib.wordpress.com/openso...be-visibility/
http://www.techchorus.net/using-tata...d-fedora-linux

Unless you configure your connection correctly, and enable "stupid mode", as noted several times in the tutorials, your modem will die upon connection. This was given to you in the tutorial in your other thread, and here as well. Unless you FOLLOW THE INSTRUCTIONS, it won't work.

Knightron 12-09-2013 12:41 AM

It's a bit of a long shot, but you seem new so i'm going to mention it.
Have you made networkmanager executable?
This is a step you need to take that you don't normally in other distros.


All times are GMT -5. The time now is 03:03 PM.