Find the answer to your Linux question:
Results 1 to 2 of 2
hi all i have ubuntu setup on my laptop. my primary connection is my wireless but i also have a wired connection which i would like to use to connect ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    1

    wired & wireless


    hi all

    i have ubuntu setup on my laptop. my primary connection is my wireless but i also have a wired connection which i would like to use to connect to a media centre box which is linux based.

    i did have it setup in windows in the old days but cant seem to get it to work in linux. the old windows setup was to give the wired connection a static ip, add a user and a share folder, and then give the media centre box a user name and password and also a shared directory to mount. also had to tell it what ip to look at

    i used to be able to ping the box but cant no more which suggests that my wired connection isnt active - i dont know how to make it active...i have tried going through the network connections but seem to activate as i cant get it to ping the other box.... is it possible to have it active at the same time as the wireless if so how?

    i have setup a share folder under /home/media/ with a NFS share

    my ifconfig -a

    Code:
    eth0      Link encap:Ethernet  HWaddr 00:0F:B0:E5:1E:C8  
              inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
              Interrupt:22 Base address:0x8000 
    
    eth1      Link encap:Ethernet  HWaddr 00:16:6F:7F:AA:E0  
              inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::216:6fff:fe7f:aae0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:3472 errors:1 dropped:2 overruns:0 frame:0
              TX packets:3273 errors:0 dropped:0 overruns:0 carrier:1
              collisions:0 txqueuelen:1000 
              RX bytes:30550429 (29.1 MiB)  TX bytes:5664583 (5.4 MiB)
              Interrupt:23 Base address:0xa000 Memory:bc007000-bc007fff 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:366 errors:0 dropped:0 overruns:0 frame:0
              TX packets:366 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:37918 (37.0 KiB)  TX bytes:37918 (37.0 KiB)
    
    vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01  
              inet addr:172.16.121.1  Bcast:172.16.121.255  Mask:255.255.255.0
              inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    
    vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08  
              inet addr:172.16.221.1  Bcast:172.16.221.255  Mask:255.255.255.0
              inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    my media box is

    ip: 198.168.0.3
    sub: 255.255.255.0
    broadcast: 198.168.0.255
    gateway & DNS: 198.168.0.2

    can anyone help?

  2. #2
    Just Joined!
    Join Date
    Apr 2007
    Posts
    18
    Step by step. It is possible to set up two cards ( wired and wireless ) at the same time, and make them work. The best is to give diffrent subnets and so no conflicts will occur. Next proper configuration of interfaces and you should get it work.

    It seems eth0 does not work as it should, no packets RX and TX. Can you show us your 'interface' file, it is: /etc/network/interfaces . Are you having two wired cards in your comp? (from the file it seems that yes ) or there are problems in config.

Posting Permissions

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