LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 04-08-2007, 02:57 PM   #1
xhevi
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
usb data link network configuration


Hi everyone,

I have this situation:

Host A - desktop, Windows XP, connected to internet (via dialup CDMA)
Client B - laptop, Kubuntu 2.6.17-11 x86_64 etchy,
Cable usb data link, vendor: Ali corp.

I am trying to access the internet from B, by connecting it to A via cable. I have used this until now in Windows, now I want to do the same in Ubuntu.

I tried to config USB Network in Windows via DHCP.
Adapter gets address 192.168.0.1 netmask 255.255.255.0

Then on laptop
ifconfig usb0 192.168.0.2 netmask 255.255.255.0 up
route add default gw 192.168.0.1

I cannot even ping 192.168.0.1 from laptop.
I have tried different configurations analogue to the one described above, but I'm stuck.

Did anyone have try to solve this situation before? Can anyone suggest all steps I need to do?

Thanks,
Jay.
 
Old 04-15-2007, 11:32 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
By default when you configure Internet Connection Sharing (ICS) in windows the adapter will automatically be assigned the IP address 192.168.0.1 with a DHCP server. Lots of information on the web that can help you setup ICS.

Since you seem to have usb0 then I would assume that the modules are being loaded but check the output of the lsmod command anyway. Just for grins post the output of ifconfig command:
ifconfig -a

http://www.linux-usb.org/usbnet/
 
  


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
USB data link cables that work with linux? Norman2 Linux - Hardware 1 08-15-2005 06:50 PM
How can I stop rsync from deleting data if network link is dropped? skyfly Linux - Networking 2 06-30-2004 11:35 AM
Network Configuration Errors Setting D-Link DW650+ Wireless Card tznomani Linux - Newbie 6 10-29-2003 05:31 AM
Network Configuration Errors Setting D-Link DWL-650+ Wireless Card tznomani Linux - Wireless Networking 1 10-29-2003 03:10 AM
New Project: Linux, USB Sat link, and Network lhehe Linux - Networking 0 12-02-2001 11:31 PM


All times are GMT -5. The time now is 10:30 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration