You are not logged in.

Announcement

Due to heavy spamming of forums registration is going in stages. If you wish to register as a new user with ArchBang Forums, first register and then send an e-mail to: archbangforums at gmail dot com. It should contain the problem you want to discuss or some other AB related content. You will be promoted from registering member with no posting rights to new member with posting rights after that. If your mail is ignored you haven't fulfilled the requirements.

#1 2012-05-28 21:24:29

lea0342
New member
Registered: 2012-05-08
Posts: 4

[SOLVED]3G usb modem connection works in LiveCD but not after install

Hi! i've installed archbang just today, i used to use arch a lot a couple of years ago, but desisted due to the difficulty to configure the wireless and 3G internet connection in that time... now Archbang takes care of it in the LiveCD mode, im writing from it, but didn't works the same way if i boot from my brand new installation from disk...

i read a little about usb_modeswitch and i noticed with 'lsusb' that in the LiveCD mode is switching and i get the /dev/ttyUSB0 file, but it didn't switch in the install, and i don't get the /de/ttyUSB0 file sad

Any idea how to preserve that functionality after install to disk?

TNX!

Last edited by lea0342 (2012-05-30 08:31:22)

Offline

#2 2012-05-29 00:07:25

Mr Green
Iso Developer
Registered: 2010-11-07
Posts: 3,749

Re: [SOLVED]3G usb modem connection works in LiveCD but not after install

Knowing very little about usb modems can only give pointers to problem, check output of lsmod [live] against install to check modules loaded.

After install did you bring system fully up to date?

Offline

#3 2012-05-29 02:12:13

darktux
Member
From: Lisbon, Portugal
Registered: 2011-11-10
Posts: 42

Re: [SOLVED]3G usb modem connection works in LiveCD but not after install

A simple (maybe obvious) idea:
- After have pluged the usb modem (wait a few seconds), have you enabled wireless/3G (don't remember exactly the name that is showed) in the nm-applet icon (right click on it) ?
- In Arch(bang) the 3G is not enabled automatically as in other distros I've used.


Fluent in Portuguese and Bad English

Offline

#4 2012-05-29 04:36:23

lea0342
New member
Registered: 2012-05-08
Posts: 4

Re: [SOLVED]3G usb modem connection works in LiveCD but not after install

no i can't access internet without 3G connection, and because of that can't get up-to-date, i will try that after work to see the output of both environments... and will try Darktux idea also and report back smile

Offline

#5 2012-05-29 05:37:50

fog
Member
From: Athens, Greece
Registered: 2012-05-11
Posts: 17
Website

Re: [SOLVED]3G usb modem connection works in LiveCD but not after install

Take a look at this:

Sakis3G is a tweaked shell script which is supposed to work out-of-the-box for establishing a 3G connection with any combination of modem or operator. It automagically setups your USB or Bluetooth™ modem, and may even detect operator settings. You should try it when anything else fails!

http://www.sakis3g.org/


I’m not antisocial, I’m just not user friendly.

Sometimes I shoot

Offline

#6 2012-05-29 07:29:29

lea0342
New member
Registered: 2012-05-08
Posts: 4

Re: [SOLVED]3G usb modem connection works in LiveCD but not after install

Working now! big_smile i don't know why it isn't in previous boot, i will use this knowledge and info of lsmod and sakis3G to see why i can't make it work in arch base install copying the usb_modeswitch and deps with pacman -U

in arch base it switches to the correct ID (line "Bus 001 Device 006: ID 12d1:1c05 Huawei Technologies Co., Ltd." from '$ lsusb') but it didn't create the /dev/ttyUSB0 device that wvdial uses to establish the connection.

             .               
               #.               OS: Archbang x86_64
              /;#               Hostname: archbang
              #;##              Kernel: 3.3.4-1-ARCH
             /###'              Uptime: 0:01
            ;#\   #;            Window Manager: Openbox
           +###  .##            Packages: 584
          +####  ;###           RAM: 129 MB / 1997 MB
         ######  #####;         CPU: Intel(R) Atom(TM) CPU N570 @ 1.66GHz
        #######  ######         Shell: Bash
       ######## ########        Root FS: 1.8G / 3.7G (ext4)
     .########;;########\       
    .########;   ;#######      
    #########.   .########`    
   ######'           '######   
  ;####                 ####;  
  ##'                     '##  
 #'                         `# 
 
[live@archbang ~]$ lsmod
Module                  Size  Used by
ppp_deflate             4090  0
zlib_deflate           20436  1 ppp_deflate
bsd_comp                5314  0
ppp_async               7282  1
crc_ccitt               1363  1 ppp_async
ppp_generic            24101  7 ppp_async,bsd_comp,ppp_deflate
slhc                    5354  1 ppp_generic
option                 18672  1
usb_wwan                9366  1 option
usbserial              32395  5 usb_wwan,option
sr_mod                 14823  0
cdrom                  35744  1 sr_mod
joydev                  9991  0
arc4                    1410  2
snd_hda_codec_realtek   114123  1
ath9k                  93411  0
uvcvideo               67853  0
ath9k_common            2096  1 ath9k
ath9k_hw              360304  2 ath9k_common,ath9k
i915                  432291  2
snd_hda_intel          23989  1
videobuf2_vmalloc       2276  1 uvcvideo
videobuf2_memops        2182  1 videobuf2_vmalloc
snd_hda_codec          92713  2 snd_hda_intel,snd_hda_codec_realtek
ath                    15297  3 ath9k_hw,ath9k_common,ath9k
videobuf2_core         20415  1 uvcvideo
mac80211              391455  1 ath9k
eeepc_wmi               2420  0
i2c_algo_bit            5359  1 i915
videodev               83373  1 uvcvideo
snd_hwdep               6556  1 snd_hda_codec
asus_wmi               15205  1 eeepc_wmi
drm_kms_helper         26947  1 i915
snd_pcm                74812  2 snd_hda_codec,snd_hda_intel
pci_hotplug            25324  1 asus_wmi
v4l2_compat_ioctl32     8348  1 videodev
cfg80211              176889  3 mac80211,ath,ath9k
drm                   204375  3 drm_kms_helper,i915
media                  10469  2 videodev,uvcvideo
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
serio_raw               4653  0
sparse_keymap           3056  1 asus_wmi
snd_timer              19222  1 snd_pcm
rfkill                 15604  2 cfg80211,asus_wmi
i2c_core               20593  5 drm,drm_kms_helper,videodev,i2c_algo_bit,i915
psmouse                69539  0
snd                    59656  8 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek
iTCO_wdt               12877  0
intel_agp              10872  1 i915
evdev                   9402  8
iTCO_vendor_support     1929  1 iTCO_wdt
atl1c                  32966  0
soundcore               6082  1 snd
intel_gtt              14007  3 intel_agp,i915
thermal                 7959  0
battery                 6485  0
wmi                     8475  1 asus_wmi
processor              26144  0
ac                      2376  0
video                  11243  1 i915
button                  4502  1 i915
ext4                  424467  1
jbd2                   71704  1 ext4
mbcache                 5977  1 ext4
crc16                   1359  1 ext4
dm_snapshot            28799  2
dm_mod                 71398  3 dm_snapshot
squashfs               27675  1
loop                   18672  6
isofs                  32634  1
usb_storage            44530  1
sd_mod                 28059  2
uhci_hcd               23372  0
ahci                   20261  0
libahci                19999  1 ahci
ehci_hcd               43944  0
libata                167019  2 libahci,ahci
scsi_mod              133422  4 libata,sd_mod,usb_storage,sr_mod
usbcore               146815  8 ehci_hcd,uhci_hcd,usb_storage,uvcvideo,usbserial,usb_wwan,option
usb_common               954  1 usbcore

[live@archbang ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 05dc:a762 Lexar Media, Inc.
Bus 001 Device 003: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 004: ID 13d3:5711 IMC Networks
Bus 001 Device 006: ID 12d1:1c05 Huawei Technologies Co., Ltd.

[live@archbang ~]$ ls /dev/ttyUSB
ttyUSB0  ttyUSB1  ttyUSB2

Offline

#7 2012-05-29 07:58:58

darktux
Member
From: Lisbon, Portugal
Registered: 2011-11-10
Posts: 42

Re: [SOLVED]3G usb modem connection works in LiveCD but not after install

fog wrote:

Take a look at this:

Sakis3G is a tweaked shell script which is supposed to work out-of-the-box for establishing a 3G connection with any combination of modem or operator. It automagically setups your USB or Bluetooth™ modem, and may even detect operator settings. You should try it when anything else fails!

http://www.sakis3g.org/

fog: I've tried in the past Sakis3G and it works great, it's a very nice tool. I've used Sakis3G when using wicd to handle network connections.
However Networkmanager should handle it.


Fluent in Portuguese and Bad English

Offline

#8 2012-05-30 08:32:53

lea0342
New member
Registered: 2012-05-08
Posts: 4

Re: [SOLVED]3G usb modem connection works in LiveCD but not after install

Thanks everyone! sakis3G is a life saver for my 3G connection, the good thing is that i learned a lot about usb_modeswitch and such things i never knowed before big_smile

Offline

Board footer

Powered by FluxBB