Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question Cannot connect to the internet without using ifconfig


    I am an OpenSUSE 12.1 (x64, gnome desktop) user. I have got a problem with my network configuration. I must use " ifconfig eth0 netmask broadcast " to connect to the internet every system start. How can I solve this problem ???

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Harrow, UK
    Put that command into rc.local and it will run automatically every time you boot. I assume it's only having to run it by hand that annoys you.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    You should not have to place that command in the rc.local file. In fact I would steer you away from doing this as it is not the proper way to setup your network connection.

    You need to check your /etc/sysconfig/network directory for the the ifcfg-eth# (# is the interface number) and edit that to ensure it is configured correctly. Then after that is all setup you need to ensure that the network services are started at boot time.


    The adventure of a life time.

    Linux User #296285
    Get Counted

  4. $spacer_open

Posting Permissions

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