Find the answer to your Linux question:
Results 1 to 10 of 10
hello friends , i runing lamp(linux,apache,mysql,php) in on my rhel5 os,but when i use the command #service network start my internet connection slowing down, ive reqrued to active eth0 and ...
  1. #1
    Just Joined!
    Join Date
    Sep 2010
    Posts
    3

    Unhappy how to configur network in rhel5?

    hello friends ,
    i runing lamp(linux,apache,mysql,php) in on my rhel5 os,but when i use the command
    #service network start
    my internet connection slowing down,
    ive reqrued to active eth0 and run internet connection,
    thanks!

  2. #2
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    you can manually configure your network using
    System >administration > network>>device>edit>....
    and you get many option >start network when system start ... file save ...exit

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Location
    India
    Posts
    2
    Run the following command on shell prompt.

    [root@example.com ~]# setup

  4. #4
    Just Joined! root99's Avatar
    Join Date
    Oct 2010
    Posts
    10
    2 options in RHEL
    1. in KDE or GNOME 'system-config-network'
    2. in VI mode /etc/sysconfig/network-scripts/ifcfg-eth0
    IPADDR=192.168.2.7
    NETMASK=255.255.255.0
    GATEWAY=192.168.2.254
    PEERDNS=No
    then save and restart the network service

  5. #5
    Just Joined!
    Join Date
    Oct 2010
    Location
    India
    Posts
    2
    setup command is to use...

  6. #6
    Just Joined!
    Join Date
    Oct 2010
    Location
    Noida
    Posts
    7

    Smile network configure

    write
    "neat" and set up wat u need
    den service network restart

    if you are using wifi then iwconfig is the command.

    iwconfig eth0 enc "your key"
    iwconfig eth0 essid "network name"

    eth0 is my device.it can vary for u.
    try and run man iwconfig.
    For wlan0 again iwconfig wlan0 key ; den d command for essid and den
    ifconfig wlan0 "DNS IP"
    route add default gw "IP of DNS".
    This should help if ive got ur ques rite...

  7. #7
    Just Joined!
    Join Date
    Sep 2010
    Posts
    3

    Smile

    Quote Originally Posted by root99 View Post
    2 options in RHEL
    1. in KDE or GNOME 'system-config-network'
    2. in VI mode /etc/sysconfig/network-scripts/ifcfg-eth0
    IPADDR=192.168.2.7
    NETMASK=255.255.255.0
    GATEWAY=192.168.2.254
    PEERDNS=No
    then save and restart the network service

    hay i do the all the steps...
    but i don't understand "PEERDNS=NO"
    thank you

  8. #8
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    your network is working or not ?
    read this about peer DNS name from here
    What are peer DNS names and external DNS names?
    Last edited by ved; 10-09-2010 at 12:29 PM.

  9. #9
    Just Joined!
    Join Date
    Oct 2010
    Location
    Noida
    Posts
    7

    Smile

    @ranvir - d link by ved will giv u an idea for wat u want
    Or i guess even if u skip the PEERDNS command it will work absolutely fine provided you have made the nameserver entry in /etc/resolv.conf.

  10. #10
    Just Joined!
    Join Date
    Sep 2010
    Posts
    1
    Hi,

    when you using lamp,...you may have to go exact directory path and put the command service network start

Posting Permissions

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