LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setting up USB modem in Slackware 10.1 (with 2.4.29 kernel) (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-usb-modem-in-slackware-10-1-with-2-4-29-kernel-321216/)

zodman 05-08-2005 01:13 AM

setting up USB modem in Slackware 10.1 (with 2.4.29 kernel)
 
Hello guys, could really use you help on this,

I've try to install on my fresh copy of Slack 10.1 a USB modem driver for BIPAC-7000 (which I downloaded from here: http://www.billion.com/support/download/fd/fd1.htm)

I extracted it, and follow the readme instruction below:

'First, uncompressing the packaged: USBNET_E2_LINUX_062802_REL1.7.tar.gz
#tar zxvpf USBNET_E2_LINUX_062802_REL1.7.tar.gz
A directory named e2 will be created under current directory.

Second, Changing directory to the "e2" directory.
#cd e2

Third, compiling the source code.
#make

At last, copy the firmware file "CnxE2Fw.bin" to directory "/etc".
#cp CnxE2Fw.bin /etc/CnxE2Fw.bin


Now, you can install the driver by the command below under current directory:
#insmod e2.o'

now this is where trouble begin, the next step readme told me to do was to issue a command 'ifconfig hsb0 up' which I did and got error saying that no such device exist.

here the readme text :

'If the network doesn't up automatically, you must run the following commands to activate the net adapter.
#ifconfig hsb0 up
#dhcpcd -n hsb0'

what did I do wrong? sorry if this seems very newbie to you all but I'm really new to this(I fact, this is the first time I successfully complies a program using 'make' command)

Thanks in advance guy.

__J 05-08-2005 01:28 AM

not sure if this will work on not, but worth a shot:

first make a backup of the file we will be modifying (as root):
Code:

cp /etc/rc.d/rc.inet1.conf /etc/rc.d/rc.inet1.conf.bak
if you need your original back, delete /etc/rc.d/rc.inet1.conf and rename .conf.bak to .conf again

as root, open up /etc/rc.d/rc.inet1.conf in a text editor.

add the following:

Code:

# Config information for hsb0
IPADDR[4]=""
NETMASK[4]""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]=""

if your isp requires a hostname to login put it in the DHCP_HOSTNAME field above.

zodman 05-08-2005 04:25 AM

Thankyou __J! I've edited rc.inet1.conf file as you advise. Although it still display the same error when I run ifconfig hsb0 up, at least now adsl-setup use hsb0 as my default device. :)

But I noticed something strange: if I issue a command 'insmod e2.o' and then run ifconfig, instate of telling me that such device cannot be found, it display this error message instate:

SIOCSIFFLAGS: Resource temporarily unavailable

when I restart linux and run ifconfig again (without run insmod first) it display the old error message(...such device cannot be found), If I run insmod and then ifconfig then I got the 'resouce unavailable' error message.

what does this mean? also when I run insmod e2.o I got the message saying this module that I'm load will 'tainted' the kernel, at first I ignore this thinking it was just a warning but does it have anything to do with this?

__J 05-08-2005 04:35 AM

http://www.vidarholen.net/contents/linuxtips/

try this and see if it helps

zodman 05-08-2005 10:30 AM

Thanks again __J :) , I check you link, It tells me to turn off Plug&Play option in bios, which I did. I then try to set ifconfig again, but to my horror it display the same error message, well at least I know it wasn't the bios setup. :(

Borvorn 05-14-2005 09:54 AM

after you use "insmod e2.o" command
unplug usb port of the modem and plug it
wait until adsl light is stop blink then use "ifconfig hsb0 up"

sorry for my poor english


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