LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to set up 3G internet through my phone on Linux? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-set-up-3g-internet-through-my-phone-on-linux-711909/)

zorobabel 03-16-2009 04:52 AM

How to set up 3G internet through my phone on Linux?
 
I've tried searching around for info about this, but I've had a hard time finding the specific instructions that I need.

I use my Sony Ericsson K630i phone as a modem for my high speed internet connection here in Indonesia. I've recently installed OpenSUSE 11. I tried using some of the included network tools to set up my connection, but I'm a complete newbie and I think I'm doing more harm than good.

Could anyone give me some advice or perhaps point me in the right direction as to what software I need to use? Any help would be appreciated.

hurry_hui 03-16-2009 05:29 AM

What is the output of dmesg n lsusb, after pluggin the phone. Remember that u should have root access to execute lsusb

zorobabel 03-16-2009 06:05 AM

Selamat malam. Sorry, as i said I'm a complete newbie. What command should I type in the terminal to get that?

linuxlover.chaitanya 03-16-2009 07:35 AM

Those above given are the commands that you need to type on terminal. These commands will give you some output that you should paste here.

"lsusb" can be run as normal user on Ubuntu.

zorobabel 03-16-2009 08:23 AM

dmesg:

Code:

Bus 005 Device 003: ID 0fce:d0af Sony Ericsson Mobile Communications AB
Bus 005 Device 002: ID 046d:c044 Logitech, Inc. LX3 Optical Mouse
Bus 005 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb (only part of it because it is so big; if you need another part, let me know):

Code:

USB Universal Host Controller Interface driver v3.0
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 23, io mem 0xe5004000
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
 sda1 sda2 < sda5 sda6 sda7 sda8 >
sd 1:0:0:0: [sda] Attached SCSI disk
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.25.5-1.1-pae ehci_hcd
usb usb1: SerialNumber: 0000:00:1d.7
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 23
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000b000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.25.5-1.1-pae uhci_hcd
usb usb2: SerialNumber: 0000:00:1d.0
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000b400
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
hub 1-0:1.0: unable to enumerate USB device on port 7
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.25.5-1.1-pae uhci_hcd
usb usb3: SerialNumber: 0000:00:1d.1
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000b800
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.25.5-1.1-pae uhci_hcd
usb usb4: SerialNumber: 0000:00:1d.2
ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000bc00
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: UHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.25.5-1.1-pae uhci_hcd
usb usb5: SerialNumber: 0000:00:1d.3
PM: Starting manual resume from disk
usb 5-1: new low speed USB device using uhci_hcd and address 2
usb 5-1: configuration #1 chosen from 1 choice
usb 5-1: New USB device found, idVendor=046d, idProduct=c044
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: USB-PS/2 Optical Mouse
usb 5-1: Manufacturer: Logitech
usbcore: registered new interface driver hiddev
input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/input/input2
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.3-1
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
scsi 0:0:0:0: Attached scsi generic sg0 type 5
sd 1:0:0:0: Attached scsi generic sg1 type 0
Linux agpgart interface v0.103
iTCO_vendor_support: vendor-support=0
input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input4
ACPI: Power Button (CM) [PWRB]
r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:03:00.0 to 64
eth0: RTL8168b/8111b at 0xf968e000, 00:1f:d0:60:85:87, XID 38000000 IRQ 220
Driver 'sr' needs updating - please use bus_type methods
IT8718 SuperIO detected.
parport_pc 00:08: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
sr0: scsi3-mmc drive: 125x/125x writer dvd-ram cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:0:0: Attached scsi CD-ROM sr0
rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one month
iTCO_wdt: Intel TCO WatchDog Timer Driver v1.02 (26-Jul-2007)
iTCO_wdt: Found a ICH7 or ICH7R TCO device (Version=2, TCOBASE=0x0460)
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19
ppdev: user-space parallel port driver
intel_rng: FWH not detected
ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1b.0 to 64
hda_codec: Unknown model for ALC662, trying auto-probe from BIOS...
ALSA sound/pci/hda/hda_codec.c:3021: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3025:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3029:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3030:    mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3038:    inputs: mic=0x18, fmic=0x19, line=0x1a, fline=0x0, cd=0x0, aux=0x0
Adding 2104444k swap on /dev/sda6.  Priority:-1 extents:1 across:2104444k
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: dm-devel@redhat.com
loop: module loaded
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda8, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
fuse init (API version 7.9)
type=1505 audit(1237207619.190:2): operation="profile_load" name="/bin/ping" name2="default" pid=1402
type=1505 audit(1237207619.370:3): operation="profile_load" name="/sbin/klogd" name2="default" pid=1409
type=1505 audit(1237207619.478:4): operation="profile_load" name="/sbin/syslog-ng" name2="default" pid=1412
type=1505 audit(1237207619.526:5): operation="profile_load" name="/sbin/syslogd" name2="default" pid=1431
type=1505 audit(1237207619.578:6): operation="profile_load" name="/usr/sbin/avahi-daemon" name2="default" pid=1444
type=1505 audit(1237207619.635:7): operation="profile_load" name="/usr/sbin/identd" name2="default" pid=1447
type=1505 audit(1237207619.659:8): operation="profile_load" name="/usr/sbin/mdnsd" name2="default" pid=1448
type=1505 audit(1237207619.694:9): operation="profile_load" name="/usr/sbin/nscd" name2="default" pid=1449
type=1505 audit(1237207619.738:10): operation="profile_load" name="/usr/sbin/ntpd" name2="default" pid=1450
type=1505 audit(1237207619.763:11): operation="profile_load" name="/usr/sbin/traceroute" name2="default" pid=1451
IA-32 Microcode Update Driver: v1.14a <tigran@aivazian.fsnet.co.uk>
powernow: This module only works with AMD K7 CPUs
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
bootsplash: status on console 0 changed to on
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
hub 1-0:1.0: unable to enumerate USB device on port 8
usb 5-2: new full speed USB device using uhci_hcd and address 3
usb 5-2: configuration #3 chosen from 1 choice
usb 5-2: New USB device found, idVendor=0fce, idProduct=d0af
usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-2: Product: Sony Ericsson K630
usb 5-2: Manufacturer: Sony Ericsson
usb 5-2: SerialNumber: 3588010171707460
cdc_acm 5-2:3.1: ttyACM0: USB ACM device
cdc_acm 5-2:3.3: ttyACM1: USB ACM device
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
usb0: register 'cdc_ether' at usb-0000:00:1d.3-2, CDC Ethernet Device, 02:80:37:0a:03:00
usbcore: registered new interface driver cdc_ether
usb0: no IPv6 routers present


john test 03-16-2009 08:50 AM

Don't know about your 3G provider, but with Verizon you have to pay extra for "tethering".
Once the provider adds the Tethering function to your account it should go a lot smoother.

hurry_hui 03-16-2009 08:14 PM

It is ttyACM0 n ttyACM1 that we need. Still as root, type:
Wvdialconf
Having running it successfully edit the config:
Nano /etc/wvdial.conf
Change phone no, user, passw to suit your need, ctrl+o to write, ctrl+x to exit. Now type:
Wvdial
If it succeed, u can use ur phone as modem.


All times are GMT -5. The time now is 07:03 PM.