Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
Anyone know where SuSE 8.2 keeps the settings for the nic cards like the gateway setting etc.... Its not in the typical linux file locations. i.e. etc/sysconfig/network Suse site is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025

    Suse 8.2 eth1 config issue


    Anyone know where SuSE 8.2 keeps the settings for the nic cards like the gateway setting etc.... Its not in the typical linux file locations. i.e. etc/sysconfig/network

    Suse site is of no help, and they are consistanly not using the typical linux file names and locations for conf's. Any url's on Suse disto's info.

    Help
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  2. #2
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    maybe in /etc they are in Debian

  3. #3
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025
    Normally they would be in /etc or a sub of it, but what I need what is the file called in SuSE that contains the gateway setting etc... SuSE is not using the typical file names or locations for some configurations like the network.
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    Jun 2003
    Location
    Calgary, AB CANADA
    Posts
    496
    Try editing your /etc/route.conf file.
    \"Everything should be made as simple as possible, but not simpler.\"
    Albert Einstein

  6. #5
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025
    No such file in /etc, I even ran from / "find -name route.conf" and came up with no matches.

    Other ideas?
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  7. #6
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    if you know the commands you want to be executed to set the networking up, then try adding them to /etc/rc.d/rc.local or a script in /etc/rc.d/rc* for your startup runlevel

    Jason

  8. #7
    Linux Engineer big_k105's Avatar
    Join Date
    May 2003
    Location
    Fargo, ND
    Posts
    901
    /etc/route.conf -> /etc/sysconfig/network/routes

    /etc/sysconfig/network/ifcfg-eth0
    /etc/sysconfig/network/ifcfg-lo

    these look to be the config files to me. and i found these on my work servers and it is running suse 8.2 so let me know if this is right.

    hope this helps some.
    BIG K aka Kyle
    Programming Forums
    www.kylekonline.com
    Please don\'t PM me for help-- ask in the forums instead!

  9. #8
    flw
    flw is offline
    Linux Engineer
    Join Date
    Mar 2003
    Location
    U.S.A.
    Posts
    1,025
    The following are my local loopback, wireless NIC and the NIC. Its the last that needs a gateway set that sticks.

    ifcfg-lo:
    # Loopback (lo) configuration
    IPADDR=127.0.0.1
    NETMASK=255.0.0.0
    NETWORK=127.0.0.0
    BROADCAST=127.255.255.255
    STARTMODE=onboot

    ifcfg-eth0
    #Wireless NIC- a issue for another day

    BOOTPROTO='dhcp'
    MTU=''
    REMOTE_IPADDR=''
    STARTMODE='onboot'
    UNIQUE='UVH2.FYUa2xiK1J3'
    WIRELESS='no'

    ifcfg-eth1
    # acutal NIC with no gateway set
    BOOTPROTO='dhcp'
    MTU=''
    REMOTE_IPADDR=''
    STARTMODE='onboot'
    UNIQUE='oxTw.DrwbSrSW+pF'
    WIRELESS='no'

    When you look at your ifcfg-eth0 does it have its gateway listed in it? If so where in the file?

    Obviously mine don't mention a gateway anywhere in these conf files and I have no route.conf file in etc or subs of etc.

    idea's?

    It maybe very time consuming but what is the cmd line to open every file and look for a text string match? i.e. files that contain the word "gatway" ?
    Dan

    \"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"

  10. #9
    Linux Engineer big_k105's Avatar
    Join Date
    May 2003
    Location
    Fargo, ND
    Posts
    901
    Code:
    kkjorsvik@dc:/etc/sysconfig/network> cat ifcfg-lo
    
    IPADDR=127.0.0.1
    NETMASK=255.0.0.0
    NETWORK=127.0.0.0
    BROADCAST=127.255.255.255
    STARTMODE=onboot
    
    kkjorsvik@dc:/etc/sysconfig/network> cat ifcfg-eth0
    
    BOOTPROTO='static'
    BROADCAST='192.1.1.255'
    IPADDR='192.1.1.61'
    NETMASK='255.255.255.0'
    NETWORK='192.1.1.0'
    REMOTE_IPADDR=''
    STARTMODE='onboot'
    UNIQUE='_Znp.Y3FLaENdpw9'
    WIRELESS='no'
    this is they way it is configured at work when i get home tonite i will check out my laptop is set up for you and post that info in here.
    BIG K aka Kyle
    Programming Forums
    www.kylekonline.com
    Please don\'t PM me for help-- ask in the forums instead!

  11. #10
    Just Joined!
    Join Date
    Sep 2003
    Posts
    2

    yast2

    Why not just run yast2
    :>yast2
    from the command line and configure the network from there?[/i]

Page 1 of 2 1 2 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
  •