Sorry, made a mistake in the conf file.. here's the real example #IFCFG-ETH0-LOCAL DEVICE=eth0 ONBOOT=on IPADDR=192.168.1.230 NETMASK=255.255.255.0 BROADCAST=192.168.1.255 NETWORK=192.168.1.0 GATEWAY=192.168.1.1 DNS1=192.168.1.1
cheers.. R On Mon, Jun 15, 2009 at 9:18 AM, Rodolfo D. Arce S.<rodolfoa...@eyuhoo.com> wrote: > Could you ping hosts in your internal network? perhaps you didn't set > you gateway > > Instead of changing the /etc/resolv.conf maybe you could try to add > the option in the interface configuration > Example: > > #IFCFG-ETH0-LOCAL > DEVICE=eth0 > ONBOOT=on > IPADDR=192.168.1.230 > NETWORK=255.255.255.0 > BROADCAST=192.168.1.255 > GATEWAY=192.168.1.1 > DNS1=192.168.1.1 > > Could you send your ifcfg-eth0-local file? > > cheers.. R > > On Fri, Jun 12, 2009 at 7:32 PM, <tkk...@nurturingasia.com> wrote: >> Yes, I followed the instruction and created a ifcfg-eth0-local and change >> the /etc/resolv.conf with the original nameserver 172.18.0.1 to 192.168.1.1 >> >> It boot and set my ip to 192.168.1.230. I could not ping an external IP not >> resolve domain names. The orignal dhcp setting just works well. I hope >> setting a static IP would be as easy. >> >> I want a static ip as I want to play around with external web access to the >> Xs-server loaded with other elearning application. >> >> >> >> >>>-----Original Message----- >>>From: Rodolfo D. Arce S. [mailto:rodolfoa...@eyuhoo.com] >>>Sent: Saturday, June 13, 2009 01:58 AM >>>To: tkk...@nurturingasia.com, 'XS Devel' >>>Subject: Re: [Server-devel] Server configuration for static IP instead of >>>DHCP >>> >>>You have to create a file >>>/etc/sysconfig/network-sripts/ifcfg-eth0-local and configue in it your >>> static IP like any other fedora machine >>> >>>hope that works.. cheers.. R >>> >>>On 6/12/09, tkk...@nurturingasia.com <tkk...@nurturingasia.com> wrote: >>>> Everything works well with DHCP on eth0. However I want have a fixed ip >>>> instead. I followed the instruction Configuring a Static IP address. Each >>>> time I reboot I have assign a satic IP of 192.168.1.130. However not able >>>> to >>>> resolve when I ping mail.google.com. >>>> >>>> Read the thread below. What else do I need to do to get it functioning as >>>> before? >>>> >>>> Cheers >>>> >>>>>-----Original Message----- >>>>>From: Martin Langhoff [mailto:martin.langh...@gmail.com] >>>>>Sent: Tuesday, June 2, 2009 07:27 PM >>>>>To: i...@grapeprojects.com >>>>>Cc: server-devel@lists.laptop.org >>>>>Subject: Re: [Server-devel] Server configuration >>>>> >>>>>On Tue, Jun 2, 2009 at 12:40 PM, Neo Masilo <i...@grapeprojects.com> wrote: >>>>>> Active antenna plugged in on the usb port and the XO's do connect to the >>>>>> server, but not the internet (DNS)>>Reuben Will the XS act as a gateway >>>>>> to >>>>> >>>> >From what you are saying, you are right in setting up the static >>>>>address. Your ISP is blocking direct DNS queries -- so for the >>>>>correct DNS settings you need to instead set the 'forwarders' properly >>>>>in /etc/named/named-xs.conf >>>>> >>>>> >>>>> >>>>> >>>>>m >>>>>-- >>>>> martin.langh...@gmail.com >>>>> mar...@laptop.org -- School Server Architect >>>>> - ask interesting questions >>>>> - don't get distracted with shiny stuff - working code first >>>>> - http://wiki.laptop.org/go/User:Martinlanghoff >>>>>_______________________________________________ >>>>>Server-devel mailing list >>>>>Server-devel@lists.laptop.org >>>>>http://lists.laptop.org/listinfo/server-devel >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Server-devel mailing list >>>> Server-devel@lists.laptop.org >>>> http://lists.laptop.org/listinfo/server-devel >>>> >>> >> >> >> > _______________________________________________ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel