You are not logged in.

#1 2011-07-04 12:18:29

SlashWannabe94
Member
From: Skelmersdale, England
Registered: 2011-04-04
Posts: 14
Website

Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle

Hello all,

I have just installed Arch Linux on my desktop and need a way to either connect it to my LAN which is sharing the dongle connection from my laptop running ubuntu 10.04 via, ICS, DHCP3 and FIrestarter, Or simply plug in the dongle to my Arch Desktop. I have been researching commands to connect to networks with all day and have had no luck. My internet connection is being shared over ethernet through a DSL-2640R router.

I need this connection so i can install the GUI and make it fully functional. So if anyone has any ideas, guides or sites that may help me with this problem then please share.

Thank you,
SlashWannabe94


It's about jerry rigging stuff together, as long as you get there no one cares...

Offline

#2 2011-07-05 05:00:19

frankieboy
Member
Registered: 2009-04-12
Posts: 65

Re: Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle

Hi!

Google is your friend, here is a guide for ubuntu:

http://www.geeksonhigh.com/geeksonhigh/ … 9-10-howto

It works, I have used such a device earlier with arch.

Offline

#3 2011-07-05 22:58:08

SlashWannabe94
Member
From: Skelmersdale, England
Registered: 2011-04-04
Posts: 14
Website

Re: Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle

I have my laptop routing the dongle from ubuntu to arch and it works. But this guide doesn't help me use mobile broadband in arch. I tried sudo pacman -S libusb-dev usb-modeswitch and it says "error: Target not found: libusb-dev" and the same for usb-modeswitch. Or am i missing something.

Thanks,
SlashWannabe94


It's about jerry rigging stuff together, as long as you get there no one cares...

Offline

#4 2011-07-06 08:49:27

frankieboy
Member
Registered: 2009-04-12
Posts: 65

Re: Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle

Try:
pacman -S usb_modeswitch
with pacman -Ss modeswitch you could find the right name of the package.

Offline

#5 2011-07-07 07:15:02

SlashWannabe94
Member
From: Skelmersdale, England
Registered: 2011-04-04
Posts: 14
Website

Re: Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle

Installed usb_modeswitch but still having no luck. sad

I also ran the lsusb command and got this


Bus 001 Device 007: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552 (HSPA modem)
I have also made a file called 12-huawei-e1750.rules, containing this line of code too

SUBSYSTEM==”usb”, SYSFS{idProduct}==”1446″, SYSFS{idVendor}==”12d1″, RUN+=”/usr/sbin/usb_modeswitch”

Still i am having no luck. sad

Last edited by SlashWannabe94 (2011-07-07 07:50:32)


It's about jerry rigging stuff together, as long as you get there no one cares...

Offline

#6 2011-07-08 06:12:39

frankieboy
Member
Registered: 2009-04-12
Posts: 65

Re: Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle

Have you modified /etc/usb_modeswitch.conf as in the above guide?

Last edited by frankieboy (2011-07-08 06:13:43)

Offline

#7 2011-07-08 07:03:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle

SlashWannabe94 wrote:

My internet connection is being shared over ethernet through a DSL-2640R router.

Why can't you just connect the desktop to this router?

Offline

#8 2011-07-11 05:13:46

SlashWannabe94
Member
From: Skelmersdale, England
Registered: 2011-04-04
Posts: 14
Website

Re: Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle

It's was my uncles laptop that i was using for a day or two. He has taken it back now so i have no gateway anymore.


It's about jerry rigging stuff together, as long as you get there no one cares...

Offline

#9 2011-07-20 21:48:15

stuffel
Member
Registered: 2011-06-13
Posts: 7

Re: Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle

Hello, I bought a Huawei E1750, too. Today I got it working.

The most important things I got from here.
However, my stick differs a bit from yours as it has product ID 1436.

There was no need for an udev-rule, I wouldn't even know where to put it in etc (there is no udev/rules.d folder in arch?).
You need "usb_modeswitch" and the "option" module. At first I wrote an usb_modeswitch configuration, but it seems not necessary as commenting it out had no influence. The option module is loaded for me if i plug the stick in, no need to care about it further. So, except for installing usb_modeswitch everything works out of the box.
If dmesg tells you something like:

[33750.443606] cdc_ether 2-1.5:1.1: wwan0: register 'cdc_ether' at usb-0000:00:1d.0-1.5, Mobile Broadband Network Device, 02:50:f3:00:00:00
[33750.443756] usbcore: registered new interface driver cdc_ether
[33750.455202] USB Serial support registered for GSM modem (1-port)
[33750.455286] option 2-1.5:1.0: GSM modem (1-port) converter detected
[33750.455665] usb 2-1.5: GSM modem (1-port) converter now attached to ttyUSB0
[33750.455692] option 2-1.5:1.3: GSM modem (1-port) converter detected
[33750.455823] usb 2-1.5: GSM modem (1-port) converter now attached to ttyUSB1
[33750.455839] option 2-1.5:1.4: GSM modem (1-port) converter detected
[33750.455967] usb 2-1.5: GSM modem (1-port) converter now attached to ttyUSB2

that should be the case for you, too. This means modeswitch did its job and you are ready to connect.

Now you have to tell your pin to the stick and connect. I'm doing this using "wvdial" and "pppd".
You'll need the "ppp_generic" module to proceed.
My /etc/wvdial.conf looks like this:

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
 
[Dialer pin]
Init1 = AT+CPIN=1234
 
[Dialer provider]
Phone = *99#
Username = fonic
Password = fonic
Stupid Mode = 1
Dial Command = ATDT
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","pinternet.interkom.de"

Adopting the pin and the connection address should do. Then you can start your internet by typing:

wvdial pin
wvdial provider

I have to admit wvdial did not work at first(the device refused the AT commands). From frustration I started windows to see if it works there, it did, and the next day this whole configuration simply worked.

Success!

Last edited by stuffel (2011-07-20 22:36:12)

Offline

Board footer

Powered by FluxBB