LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-04-2008, 05:54 AM   #1
WierdO
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
Configuring Server on Linux - Plz Do Reply Palez :(


Hey all linux experts....m new to linux just installed fedora 8 i386.
Almost configured all other devices (audio, vidio, pakages, java, )

Prior to linux i used windows xp.
I have a bsnl modem tat gave me two outputs a normal cable tat we used to plug in NIC. and other is usb output..tat give me an usb attchemnt to my windows.

For usb connection i have to installs drivers.....and it starts working....
I configure my NIC card with CC Proxy and connect to switch with whom other pc are connected (all windows).

so now i want to configure proxys on fedora too. Is ter any way i can get my usb connected to linux and configure..it...and then configure the NIC connection with switch for proxy. Please do help..m just excited to work with linux and wanna explore more and more on it. And truely speaking LINUX rocks.

Thanks !!!
 
Old 03-05-2008, 02:53 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi,

And welcome to LQ!

First make sure that the device supports two independent connections; all
cable modems I ever encountered only supported on connection type at a
time - if this is the case for yours, too, the question is mote.


Cheers,
Tink
 
Old 03-06-2008, 04:49 AM   #3
WierdO
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the warm welcome Mista mod.

The modem usb port - used for connecting to net. and the NIC normal cable port is used to get connected to there pc in lan through switch.

But i cannot dectect and configure net connection through usb connection.
In windows i was asked to install drivers tt i got in the cd with moderm.
but in linux i m not even told tat new device is detected (usb moderm when plugged in) and i dont have drivers compatible for linux in the cd i got with moderm so any sollution as how can i configure my moderm to connect with internet. via teh usb. The ISP is bsnl broadband and the moderrm is some "ZDE"
 
Old 03-06-2008, 05:50 AM   #4
niceguy_81333
Member
 
Registered: Mar 2008
Location: India
Distribution: RHEL5
Posts: 34

Rep: Reputation: 15
open terminal
#lusb

Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0421:0445 modem
Bus 001 Device 002: ID 046d:092f Logitech, Inc.
Bus 001 Device 001: ID 0000:0000


Now note the line in which Modem is written...it has two number one is 0421 & other is 0445...we'll take these numbers as 0x421 & 0x445

0421 is the Vendor ID & 0445 is the Product ID

Now enter this comand.

#/sbin/modprobe usbserial vendor=0421 product=0445

#wvdialconf create
u'll get a long output which will be like

Scanning your serial ports for a modem.
Port Scan: S0 S1 S2 S3
WvModem: Cannot get information for serial port.
ttyACM0: ATQ0 V1 E1 — OK
ttyACM0: ATQ0 V1 E1 Z — OK
ttyACM0: ATQ0 V1 E1 S0=0 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
ttyACM0: Modem Identifier: ATI — Nokia
ttyACM0: Speed 4800: AT — OK
ttyACM0: Speed 9600: AT — OK
ttyACM0: Speed 19200: AT — OK
ttyACM0: Speed 38400: AT — OK
ttyACM0: Speed 57600: AT — OK
ttyACM0: Speed 115200: AT — OK
ttyACM0: Speed 230400: AT — OK
ttyACM0: Speed 460800: AT — OK
ttyACM0: Max speed is 460800; that should be safe.
ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
Found an USB modem on /dev/ttyACM0.
Modem configuration written to create.
ttyACM0: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″

NOw.. notice the output says that there is a modem at /dev/ttyACM0 & max speed is 460800

now enter this command
#gedit /etc/wvdial.conf

A file will open in text editor...now delete everything in that file & paste the following there

[Dialer Defaults]
Modem = Your Modem Name(eg, /dev/ttyACM0 )
Baud = ur max speed(e.g.460800 )
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99#
Username = username
Password = password
Stupid Mode = 1

save the file & you are done


NOw whenevr u need to connect...open terminal & type wvdial,,wait till some sort of IP adress is displayed like

pppd: �[06][06][08]` [06][08]
primary DNS address 218.248.240.135
pppd: �[06][06][08]` [06][08]
secondary DNS address 218.248.240.79
pppd: �[06][06][08]` [06][08]

Now you are connected....hit cntrl+c to dissconnect...



U can also create a laucher on desktop(application in terminal) & keep the command as wvdial..now double click it & u r connected

(Apologies if it wont work. i am justing giving a try)
rgds
bil
 
Old 03-07-2008, 01:16 PM   #5
WierdO
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for the reply i shall try this out.if its working or not...and let know if its working or not...!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
plz reply....urgnt sanjaykhuntia Linux - Enterprise 2 10-25-2007 04:15 AM
plz help with configuration of ftp linux server.. rachel41 Linux - Server 1 05-05-2007 03:56 PM
hi plz help me in configuring sudoers file rammu_sivraj Linux - Newbie 2 06-29-2006 12:23 AM
DNS not responding plz reply nitin34847 Linux - Networking 3 05-23-2004 03:36 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration