Find the answer to your Linux question:
Page 5 of 6 FirstFirst 1 2 3 4 5 6 LastLast
Results 41 to 50 of 53
There should be an ifcfg file for each network card on your system. I'm not sure what Fedora's naming scheme is, so you'll have to open one or two and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #41
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204

    There should be an ifcfg file for each network card on your system. I'm not sure what Fedora's naming scheme is, so you'll have to open one or two and see what's in them.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  2. #42
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Maryland, USA
    Posts
    103
    I found one in /sbin but it was a shell script

  3. #43
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    Try with this now,
    Code:
    route add -net default gw 192.168.123.254
    Then try to ping a known host on the internet
    Code:
    ping 192.71.220.10
    (which is a host I absolutly knows replys on ping)
    If thsi works, it just means that your router does not allow pings to it.
    If it does not, then there is something deeper we have to look into

  4. #44
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Maryland, USA
    Posts
    103
    Code:
    [root@localhost aeuzent]# /sbin/route add -net default gw 192.168.123.254
    SIOCADDRT: File exists
    [root@localhost aeuzent]# ping 192.71.220.10
    PING 192.71.220.10 (192.71.220.10) 56(84) bytes of data.
    From 192.168.123.183 icmp_seq=0 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=1 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=2 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=4 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=5 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=6 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=8 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=9 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=10 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=12 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=13 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=14 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=16 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=17 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=18 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=20 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=21 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=22 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=24 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=25 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=26 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=28 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=29 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=30 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=32 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=33 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=34 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=36 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=37 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=38 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=40 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=41 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=42 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=44 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=45 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=46 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=48 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=49 Destination Host Unreachable
    From 192.168.123.183 icmp_seq=50 Destination Host Unreachable
    
    --- 192.71.220.10 ping statistics ---
    51 packets transmitted, 0 received, +39 errors, 100% packet loss, time 50005ms
    , pipe 4
    I cut it off at 50 this time

  5. #45
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Maryland, USA
    Posts
    103
    I found the damn file!
    It was in /etc/sysconfig/network-scripts

    Code:
    [root@localhost network-scripts]# cat ifcfg-eth1
    DEVICE=eth1
    BOOTPROTO=dhcp
    ONBOOT=no
    TYPE=Ethernet

  6. #46
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    Something is kind of strange here, and you are sure your FW/GW is "192.168.123.254" ?
    And I'm kind of curious due to the error message
    [root@localhost aeuzent]# /sbin/route add -net default gw 192.168.123.254
    SIOCADDRT: File exists
    Because from your routing table, it was not there, however, there where another thing as well I saw there, and it is your route to "169.x.x.x" which usually will show up when you have not gotten any IP from a DHCP. Could you pleas try this sequence of commands as well
    Code:
    ifconfig eth1 down
    ifconfig eth1 192.168.123.130 netmask 255.255.255.0 broadcast 192.168.123.255 up
    route add -net default gw 192.168.123.254
    ifconfig
    netstat -nr
    And send a copy paste of the prinout of each command here

  7. #47
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    SE, Stockholm
    Posts
    512
    Quote Originally Posted by aeuzent
    I found the damn file!
    It was in /etc/sysconfig/network-scripts

    Code:
    [root@localhost network-scripts]# cat ifcfg-eth1
    DEVICE=eth1
    BOOTPROTO=dhcp
    ONBOOT=no
    TYPE=Ethernet
    Just realized that the TYPE is stated as "Ethernet", I'm not 100% sure about this, however I am 100% sure that WLAN is not eq == Ethernet!
    What excactly did you get from
    Code:
    /sbin/ifconfig -a

  8. #48
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Maryland, USA
    Posts
    103
    Code:
    [root@localhost aeuzent]# /sbin/ifconfig eth1 down
    [root@localhost aeuzent]# /sbin/ifconfig eth1 192.168.123.130 netmask 255.255.255.0 broadcast 192.168.123.255 up
    [root@localhost aeuzent]# /sbin/route add -net default gw 192.168.123.254
    SIOCADDRT: File exists
    [root@localhost aeuzent]# /sbin/ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:E0:B8:3D:09:D6
              inet addr:192.168.123.183  Bcast:192.168.123.255  Mask:255.255.255.0
              inet6 addr: fe80::2e0:b8ff:fe3d:9d6/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:378 errors:0 dropped:0 overruns:0 frame:0
              TX packets:321 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:211531 (206.5 KiB)  TX bytes:30384 (29.6 KiB)
    
    eth1      Link encap:Ethernet  HWaddr 00:02:2D:44:A9:4F
              inet addr:192.168.123.130  Bcast:192.168.123.255  Mask:255.255.255.0
              inet6 addr: fe80::202:2dff:fe44:a94f/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4 errors:2 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 b)  TX bytes:504 (504.0 b)
              Interrupt:10 Base address:0x100
    
    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:2579 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2579 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:3349266 (3.1 MiB)  TX bytes:3349266 (3.1 MiB)
    
    [root@localhost aeuzent]# netstat -nr
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    192.168.123.0   0.0.0.0         255.255.255.0   U         0 0          0 eth0
    192.168.123.0   0.0.0.0         255.255.255.0   U         0 0          0 eth1
    169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
    0.0.0.0         192.168.123.254 0.0.0.0         UG        0 0          0 eth0
    Code:
    [root@localhost aeuzent]# /sbin/ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:E0:B8:3D:09:D6
              inet addr:192.168.123.183  Bcast:192.168.123.255  Mask:255.255.255.0
              inet6 addr: fe80::2e0:b8ff:fe3d:9d6/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:526 errors:0 dropped:0 overruns:0 frame:0
              TX packets:458 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:389230 (380.1 KiB)  TX bytes:47294 (46.1 KiB)
    
    eth1      Link encap:Ethernet  HWaddr 00:02:2D:44:A9:4F
              inet addr:192.168.123.130  Bcast:192.168.123.255  Mask:255.255.255.0
              inet6 addr: fe80::202:2dff:fe44:a94f/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:5 errors:0 dropped:0 overruns:0 frame:0
              TX packets:6 errors:2 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:476 (476.0 b)  TX bytes:732 (732.0 b)
              Interrupt:10 Base address:0x100
    
    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:2581 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2581 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:3349474 (3.1 MiB)  TX bytes:3349474 (3.1 MiB)
    
    sit0      Link encap:IPv6-in-IPv4
              NOARP  MTU:1480  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:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

  9. #49
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Maryland, USA
    Posts
    103
    I doubt this would matter but I've been booting the laptop up with the netowrk cord pluged in, I'll read new posts here then unplug the cord and try the commands you give me.

    Like I said doubt it matters but just trying to figure out anything I did that might be part of the problem.

  10. #50
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Maryland, USA
    Posts
    103
    Turns out I solved the problem and that was it


    Now I need a way to make eth1 the default network connection and also somewhere to configure WEP and WPA

Page 5 of 6 FirstFirst 1 2 3 4 5 6 LastLast

Posting Permissions

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