LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 06-28-2013, 01:36 PM   #1
puru
LQ Newbie
 
Registered: Apr 2013
Location: Mumbai
Distribution: Slackware
Posts: 22

Rep: Reputation: Disabled
Post 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.
 
Old 06-28-2013, 02:07 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by puru View Post
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.
 
Old 08-20-2013, 12:03 PM   #3
puru
LQ Newbie
 
Registered: Apr 2013
Location: Mumbai
Distribution: Slackware
Posts: 22

Original Poster
Rep: Reputation: Disabled
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?
 
Old 08-20-2013, 12:28 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by puru View Post
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.

Last edited by TB0ne; 08-20-2013 at 12:29 PM.
 
Old 12-08-2013, 11:41 PM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] network manager problem curious95 Linux - Newbie 4 11-16-2012 06:44 AM
Network manager problem in jaunty sathyamganesh Linux - Networking 4 03-10-2010 05:00 AM
[SOLVED] How do I switch the network manager from YAST back to the default network manager? skykooler SUSE / openSUSE 7 03-09-2010 06:28 PM
network manager problem raphtor Linux - Newbie 1 09-27-2008 10:58 AM
Network Manager Applet Problem mrant0 Linux - Wireless Networking 2 04-16-2007 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration