LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-07-2007, 11:20 AM   #1
Mate23
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Is it possible to use eth1 and usb0 at the same time?


Hi,

I've just finished setting up a basic debian disto on my handheld (loox720) and want to enhance this very basic distro by installing some useful packages. My problem is that the only way I can access my handheld is to do a 'ifconfig eth1 down' and ifconfig 'usb0 192.168.0.1 up'. Having deactivated eth1 i'm no longer connected to the internet but can on the other hand ssh to my device. Can someone help me?
Help appreciated
 
Old 10-07-2007, 01:29 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by Mate23 View Post
My problem is that the only way I can access my handheld is to do a 'ifconfig eth1 down' and ifconfig 'usb0 192.168.0.1 up'.
What do you mean by “the only way”? What happens if you don’t take down your first interface? What do the routing tables look like prior to and after bringing up your usb interface?
 
Old 10-08-2007, 12:09 PM   #3
Mate23
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Hi,
Well,without bringing down eth1, i am unable to ping my device as it says 'Destination host unreachable'. If i do ifconfig usb0 192.168.0.2 i can ssh to my device (Notice: The SSH daemon on the device is automatically started). Changes is routing table after running ifconfig usb0 192.168.0.2:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 usb0

thanks for helping
 
Old 10-08-2007, 02:17 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by Mate23 View Post
Well,without bringing down eth1, i am unable to ping my device as it says 'Destination host unreachable'.
So what does the routing table look like when you don’t bring down eth1 and bring up usb0?

Can you post the following three routing tables:
  1. eth1 is up, usb0 is down (i.e., normal state).
  2. eth1 is up, usb0 is up (the state where you get Destination host unreachable when trying to connect to something on the usb0 network)
  3. eth1 is down, usb0 is up (where you can connect to your phone, but you have now lost internet access).

Also (this may be a silly question, but bear with me), you aren’t assigning the same address to both interfaces, are you?
 
  


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
/dev/usb0 missing samac Slackware 10 11-11-2010 11:58 PM
How to create a route to a usb0 interface? cmisip Linux - Networking 13 03-01-2007 11:07 PM
usb0 no more accessible weeb0_tikris Linux - Networking 1 09-08-2006 07:39 AM
eth0 and eth1 switch cards at run time! haxcess Linux - Networking 8 12-12-2005 04:17 PM
redhat 9 -> usb0 not found karfei00 Linux - Newbie 2 06-09-2004 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:51 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
Open Source Consulting | Domain Registration