Results 1 to 4 of 4
Hello,
I am trying to use CentOS 4.6 to build web server at home (LAMP stack). As far as I can tell its working properly, it boots at least and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-19-2008 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 2
CentOS 4.6 Network Card Issue
Hello,
I am trying to use CentOS 4.6 to build web server at home (LAMP stack). As far as I can tell its working properly, it boots at least and i can run some root commands.
From what i have seen in various installs i need to "yum" something to get an update of some sort, however I can't get the network card to actually access the internet.
My network card is as follows:
Accton Tech SMC2-1211TX (rev 10)
when i do a: "dmesg | more" one of the last lines i get is
eth0: no IPv6 routers present
as far as i can remember i have my network set up this way (on the system)
IP 192.168.0.100
gateway: 255.255.255.0
im not sure if i need to change my dns settings on the machine (which i dont remember how i did in the first place) or whatnot.
i can give more details but i dont know the commands to show them.
any help on this would be great.
- 09-19-2008 #2
What are the output of the following commands:
route -n
ifconfig
cat /etc/resolv.conf
- 09-20-2008 #3Just Joined!
- Join Date
- Sep 2008
- Posts
- 2
Hi Lazydog
below is what im getting:
route:
Kernel IP routing table:
Destination Gateway GenMask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth 0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth 0
ifconfig
eth0
Link encap: Ethernet HWaddr 00:10:B5:7D:0F
D
inet addr: 192.168.0.100 Bcast: 192.168.0.255 Mask 255.255.255.0
UP BROADCAST MULTICAST MTU:1500 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x2800
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
cat /etc/resolv.conf
search localdomain
hope this makes sense
thanks
eric
- 09-21-2008 #4
You don't have any DNS servers in your resolv.conf file.
Add your ISP's DNS server there.


Reply With Quote
