LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-03-2014, 01:40 PM   #1
pbneves
LQ Newbie
 
Registered: May 2013
Location: Portugal
Distribution: Slackware64
Posts: 9

Rep: Reputation: Disabled
Mobile broadband without networkmanager


I have a laptop with a sierra wireless (1199:9041) 3g modem that works ok with network manager, and when it is working there aren't ppp or wvdial services running, and i have a wwan0 card running and with active ipv4.
The problem is that networkmanager puts eth0 down and i need both cards running so i can configure the correct network routing.
How can i configure and make the mobile broadband connection through console without using networkmanager?
Where can i read more things about this?
Thanks in advance.
 
Old 10-03-2014, 01:54 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member Response

Hi,

If you are talking about using a manual network setup then look at: Slackware Doc Project
 
Old 10-04-2014, 07:01 AM   #3
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 163

Rep: Reputation: 51
I use pppd.

IIRC, I used pppsetup to do the spadework, then edited /etc/ppp/options with the correct device, as the only problem was that /dev/ttyUSB0 didn't feature in the list. When you plug in your mobile device, dmesg should tell you what it is.

FWIW here are my files:

/etc/ppp/pppscript

Code:
TIMEOUT 60
ABORT ERROR
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
"" "AT&FH0"
OK "atdt*99***1#" #number to dial
TIMEOUT 75
CONNECT
/etc/ppp/options

Code:
lock
defaultroute
noipdefault
modem
/dev/ttyUSB0 #mobile broadband adapter device
460800
crtscts
passive
asyncmap 0
name "user"
Your mobile provider may require a username and password; I don't think it matters what it is on my network so I just use PAP authentication with "user" and "pass":

/etc/ppp/pap-secrets

Code:
"user"   *   "pass"
So, from any virtual terminal I can do (as root): "ppp-go" to connect, "ppp-off" to disconnect.

Last edited by commandlinegamer; 10-04-2014 at 07:06 AM.
 
Old 10-05-2014, 01:31 PM   #4
pbneves
LQ Newbie
 
Registered: May 2013
Location: Portugal
Distribution: Slackware64
Posts: 9

Original Poster
Rep: Reputation: Disabled
Maybe i was misunderstood
My main question is how to deal with direct ip modems. My device is located at /dev/cdc-wm0 and not at /dev/ttyACM0 or /dev/USB0, so i believe when it is in use with networkmanager it doesn't use wvdial and ppp, because it creates the network interface wwan0.
The modem in my laptop is a built in one.
 
Old 10-06-2014, 05:49 AM   #5
commandlinegamer
Member
 
Registered: Dec 2007
Posts: 163

Rep: Reputation: 51
So what is the output of "ifconfig wwan0" after you've done "ifconfig wwan0 up" ?
 
Old 10-06-2014, 08:11 AM   #6
pbneves
LQ Newbie
 
Registered: May 2013
Location: Portugal
Distribution: Slackware64
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by commandlinegamer View Post
So what is the output of "ifconfig wwan0" after you've done "ifconfig wwan0 up" ?
Here it is

wwan0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST> mtu 1500
inet6 fe80::a059:d3ff:fee6:670a prefixlen 64 scopeid 0x20<link>
ether a2:59:d3:e6:67:0a txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2 bytes 480 (480.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Thanks.
 
Old 10-07-2014, 03:30 AM   #7
pbneves
LQ Newbie
 
Registered: May 2013
Location: Portugal
Distribution: Slackware64
Posts: 9

Original Poster
Rep: Reputation: Disabled
Solved

It seams that the problem was using the nm-applet!
Using "nmcli c up id Vod" started the 3g connection and permitted the eth0 network card being running and define the ip route rules correctly.
When using nm-applet only one connection is active at the same time.
Thanks all for your help
 
  


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
mobile broadband not connecting, networkmanager in KDE coyotl Slackware 17 03-30-2013 12:13 PM
NetworkManager cannot connect to mobile broadband network via ZTE USB modem haeri Slackware 2 10-13-2012 06:09 AM
mythbuntu and Virgin Mobile Mobile broadband adapter MC 760 Tom Nichol Linux - Networking 2 10-20-2011 07:44 AM
t-mobile mobile broadband stick with linux on eee pc beagle21 Linux - Laptop and Netbook 2 07-15-2009 12:04 PM

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

All times are GMT -5. The time now is 07:52 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