Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have use ubuntu for about 1 year.And i want to learn slackware.so I install slackware 13.1 in to my laptop.Then i try to connect to internet using my Huawei HSDPA mobile 3g dongle.
Then i install usb modeswitch after reading several documentation in the internet.I follow the instruction in following documentation and try to configure etc/usb-modeswitch.conf using vi.
But my usb-modeswitch.conf file is as follow and don't now how to configure.
# Configuration for the usb_modeswitch package, a mode switching tool for
# USB devices providing multiple states or modes
#
# This file is evaluated by the wrapper script "usb_modeswitch_dispatcher"
# in /usr/sbin
# To enable an option, set it to "1", "yes" or "true" (case doesn't matter)
# Everything else counts as "disable"
# Disable automatic mode switching globally (e.g. to access the original
# install storage)
DisableSwitching=0
# Enable logging (results in a extensive report file in /var/log, named
# "usb_modeswitch_<interface-name>" (and probably others)
EnableLogging=0
~
~
Please guide me to connect to internet using my dongle
I'm not sure if you have to configure modswitch in order to connect to the internet.
Could you please leave the usb_modeswitch.conf file as it came with the installation of Slackware. Then connect your Huawei USB-device to the computer, open a terminal and execute the command
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 046d:c016 Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 138a:0005 DigitalPersona, Inc
Bus 002 Device 004: ID 064e:a127 Suyin Corp.
Bus 002 Device 006: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
I follow your link .It says Now edit and save the config file /etc/usb_modeswitch.conf using your favourite text editor and add the following line in the Huawei section
But as you can see there is no huawei section in my /etc/usb_modeswitch.conf file.It contain only 19 lines, 558 chars.What should i do then.
Well, I thought to skip the step with the usb_modeswitch.
You'll only have to configure pppoe with the appropriate data for your internetconnection via the Huawei. But I don't have such a device and don't have any experience with it.
when i issuied lsmod | grep usbserial comman i got
usbserial 27618 1 option
when i issuied ACTION=="add" SUBSYSTEM=="usb", SYSFS{idProduct}=="0020", SYSFS{idVendor}=="8087" by following your link i got a error
bash: SYSFS{idProduct}==,0020: command not found
...
when i issuied ACTION=="add" SUBSYSTEM=="usb", SYSFS{idProduct}=="0020", SYSFS{idVendor}=="8087" by following your link i got a error
bash: SYSFS{idProduct}==,0020: command not found
This is a udev-rule, you cannot execute it on the commandline. Are you sure that you need it?
mh, I will add an explanation here. You wrote that you've used Ubuntu for a year, how did you configure the USB-modem with Ubuntu? it will not be very different in Slackware. The difference is that Ubuntu comes with Gnome and therefore uses the Gnome-tools when an internet-connection has to be configured. Slackware doesn't use Gnome (by default) and one has to use other tools.
But I don't think that you'll need modeswitch or write udev-rules to get it work. You'll only have to find out where you can configure your authentication-data for the connection.
Thank you very much for your help.As you said i didn't want to install usb-modeswich to connect.I install wvdail and with that i could connect to internet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.