Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, I have two simultaneous active mobile connections through my two mobile phones and USB data cables. Yet I can only send/receive with one connection. Each of the phone ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    1

    second network interface doesn't work


    Hi all,

    I have two simultaneous active mobile connections through my two mobile phones and USB data cables. Yet I can only send/receive with one connection.

    Each of the phone modems have a node in /dev, namely ttyACM0 and ttyACM0. So the modems are detected correctly.
    After setting up two dial-up connections with the two modems I have two ip's. Ifconfig-a confirms this:

    ppp0 Link encap:Point-to-Point Protocol
    inet addr:10.10.219.60 P-t-P:10.6.6.6 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
    RX packets:15209 errors:0 dropped:0 overruns:0 frame:0
    TX packets:13505 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:17321029 (17.3 MB) TX bytes:1308173 (1.3 MB)

    ppp1 Link encap:Point-to-Point Protocol
    inet addr:10.10.198.137 P-t-P:10.6.6.6 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
    RX packets:4 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:64 (64.0 B) TX bytes:97 (97.0 B)

    So the network interfaces are running and are up.

    When I do a wget with
    'wget --bind-address=10.10.219.60 google.com/intl/en_ALL/images/srpr/logo1w.png'
    the file is downloaded correctly.
    Yet when I do a wget with the other interface ('wget --bind-address=10.10.198.137 google.com/intl/en_ALL/images/srpr/logo1w.png'), the download wont start.
    The same problem occurs with ping:
    'ping -I 10.10.219.60 google.com' works fine while
    'ping -I 10.10.198.137 google.com' doesn't receive anything.

    Does anyone know how to make the second interface operational?
    Thanks.

  2. #2
    Linux Enthusiast
    Join Date
    Jan 2005
    Location
    Saint Paul, MN
    Posts
    627
    Most of the default network device handling for network devices, only keep one default gateway which will be the last interface brought up. The one that you are having the problem with is the first that was brought up.

    To help you, run this command (as root) after bring up the first device and again after the second device.
    Code:
    netstat -rn

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •