LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-30-2012, 03:26 PM   #1
kayla2
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
Mobile broadband connection problem with huawei E367


I am trying to use a huawei E367 modem on Linux mint maya. The dongle shows up in network-manager and it displays the name of my isp and a signal-level symbol. When I try to connect I get the message "Connection failed activation of network connection failed" right after it says "Modem network disconnected". In network manager settings under the Mobile broadband tab the "Options.."-button is grayed - both for mobile broadband set to ON and to OFF so I can't do any changes to it. I have usb_modeswitch installed. I have been using the dongle in my Win7 (i have dual boot) so it's nothing wrong with the dongle or my isp.


What I have tried so far:
using wvdial and editing the conf file like this: http://www.marklunds.com/articles/one/390

This wiki failed at the step of using "emerge" command: http://wiki.gentoo.org/wiki/Huawei_E367

I also tried sakis3g and tried to recompile it because huawei needs modeswitch thing but then it said " Header file usb.h missing from your system. This usually indicates libusb │
│ (or libusb-compat) development kit missing. "

neither of these tutorials worked:
http://netgator.blogspot.se/2010/07/...inux-mint.html
http://ubuntuforums.org/showthread.php?p=12320087


--full spec of the dongle: http://www.scribd.com/doc/63750197/H...-Specification
--modeswitch reference: http://www.draisberghof.de/usb_modes..._reference.txt

Does anyone know how to fix it?

Last edited by kayla2; 10-31-2012 at 05:56 AM.
 
Old 11-01-2012, 12:38 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
Hi,
Quote:
This wiki failed at the step of using "emerge" command: http://wiki.gentoo.org/wiki/Huawei_E367
afaik, emerge is a software/package installer for Gentoo.

Check /etc/resolv.conf, the dns addresses are stored here.

Here is a list of associated files for MY OLD system, when I used a 3g network interface.

/etc/sysconfig/network-scripts/chat-ppp0
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-ppp0
/etc/sysconfig/network-scripts/ifcfg-lo
/etc/sysconfig/network
/etc/ppp/peers/ppp0
/etc/resolv.conf
/etc/ifplugd/ifplugd.conf

The contents of these files are as follows....

(from what I can figure this line,
"OK 'ATDT*99***3#'" may be change to "OK 'ATDT*99***2#'" or "OK 'ATDT*99***1#'"
if you are close to your isp network "OK 'ATDT*99***1#'" may be faster.
It depends on how far you live/are from the pick up point.
(1# = less that 25 miles, 2# = less that 50 miles and
"OK 'ATDT*99***3#'"= more than 50 miles from isp base antenae.

/etc/sysconfig/network-scripts/chat-ppp0
Code:
ABORT BUSY
ABORT ERROR
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT 'Invalid Login'
ABORT 'Login incorrect'
ABORT VOICE
ABORT 'NO ANSWER'
ABORT DELAYED
ABORT 'SIM PIN'
'' ATZ
OK-AT-OK 'AT+CPIN?'
OK-AT-OK 'AT+CMEE=2'
OK-AT-OK 'AT+CGDCONT=3,"IP","vfinternet.au"'
OK-AT-OK 'AT+CGATT?'
OK 'ATDT*99***3#'
TIMEOUT 120
CONNECT ''
TIMEOUT 5
'~--' ''
/etc/sysconfig/network-scripts/ifcfg-eth0
Code:
DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
GATEWAY=10.64.64.64
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=yes
MTU=1492
DNS1=203.2.193.67
DNS2=202.135.30.4
DOMAIN=vfinternet.au
RESOLV_MODS=no
LINK_DETECTION_DELAY=6
IPV6INIT=no
IPV6TO4INIT=no
/etc/sysconfig/network-scripts/ifcfg-ppp0 (increase LINESPEED=115200 to 460800)
Code:
DEVICE=ppp0
ONBOOT=yes
METRIC=40
USERCTL=yes
MTU=1492
LINESPEED=115200
MODEMPORT=/dev/ttyUSB0
DEBUG=yes
PERSIST=yes
DEFROUTE=yes
ACCOUNTING=no
CELLULAR_CID=3
/etc/sysconfig/network-scripts/ifcfg-lo
Code:
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=127.255.255.255
ONBOOT=yes
NAME=loopback
/etc/sysconfig/network (AU = Australia, use your own,
this is also where you can set your private hostname)
Code:
NETWORKING=yes
GATEWAYDEV=ppp0
HOSTNAME=GamesBox.GlennsPref.net
CRDA_DOMAIN=AU
FORWARD_IPV4=true
/etc/ppp/peers/ppp0 (just a pointer/link)
Code:
connect "/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-ppp0"

/etc/hosts.deny (back to networking, this file denys any addresses not listed in
the next file, hosts.allow
Code:
#
# hosts.deny	This file describes the names of the hosts which are
#		*not* allowed to use the local INET services, as decided
#		by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In particular
# you should know that NFS uses portmap!
ALL:ALL
/etc/hosts.allow
Code:
#
# hosts.allow	This file describes the names of the hosts which are
#		allowed to use the local INET services, as decided
#		by the '/usr/sbin/tcpd' server.
#
127.0.0.1	GamesBox.GlennsPref.net GamesBox
127.0.0.1	GamesBox.GlennsPref.net GamesBox Localhost
/etc/hosts
Code:
# generated by drakconnect
192.168.0.2 GamesBox.GlennsPref.net GamesBox
127.0.0.1 localhost

/etc/resolv.conf (I turn off the service resolv to allow this file to be static)
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 202.135.30.4
nameserver 203.2.193.67
nameserver 193.136.37.8
search vfinternet.au
nameserver 202.81.67.132
nameserver 192.168.0.2

/etc/ifplugd/ifplugd.conf
Code:
# -*-sh-*-
# $Id: ifplugd.conf 43 2003-09-13 11:25:11Z lennart $

# This file is part of ifplugd.
#
# ifplugd is free software; 
......

.....
# ifplugd configuration file

# Please note that this is a bourne shell fragment sourced by the
# init script of ifplugd.

# Specify the interfaces to control here, separated by spaces.
# Ifplugd processes will be started for each of these interfaces when
# the ifplugd init script is called with the "start" argument. You may
# use the magic string "auto" to make the init script start or stop
# ifplugd processes for ALL eth and wlan interfaces that are available
# according to /proc/net/dev. Note that the list of interfaces
# appearing in /proc/net/dev may depend on which kernel modules you
# have loaded.
INTERFACES="ppp0 eth0"

# Additional parameters for ifplugd.
# (Run "ifplugd -h" for further information.)
ARGS="-fwI -u0 -d10"

# Additional parameters for ifplugd for the specified interface.  Note
# that $ARGS is ignored, when a variable like this is set for an
# interface
#ARGS_wlan0="-MwI -u5 -d5"
HTH, regards Glenn
 
Old 11-09-2012, 09:16 AM   #3
kayla2
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thx for your help but I gave up on Linux Mint and gave Arch linux a try instead and now the modem works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Install huawei e367 u2 sameera7788 Linux - Networking 4 07-07-2012 03:53 AM
[SOLVED] USB Mobile broadband Huawei e1750 on Debian 5 LXDE 32-bits coexistance Debian 12 12-08-2010 01:33 PM
huawei e1752 mobile broadband dongle edgey8843 Linux - Hardware 1 02-23-2010 05:01 AM
mobile broadband huawei E1550 in f12 RudraB Linux - Networking 0 12-13-2009 06:32 AM
Net Connection (Mobile Broadband) Problem in Ubnutu 9.04 alamgir Linux - Newbie 5 06-23-2009 11:57 PM


All times are GMT -5. The time now is 01:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration