Linux installed but no network???
I recently installed CentOS 6.3 on an HP Envy Desktop. (what a pain but it is in)
I can ping 127.0.0.1 however I cannot ping my network router. When I did the install I selected "basic server" instead of "desktop". I think I need to get X Window System up and running, and then Gnome. My questions are: 1. Can Gnome and KDE be both loaded and run on the same box?(simultaneously/or not) 2. Do I need to load X Windows then Gnome/KDE? HELP! cajunchief |
cajunchief:
What IP did you assign your machine and your router? 127.0.0.1 is the loopback interface and will not be able to talk to your router. If you have not configured the IP and subnetmask, and it is not set to DHCP, you will not be able to communicate with the router. The router IP should be your gateway. 1. Yes they can both be installed, but they cannot be run simultaneously.. you can select your deksktop at login 2. if you install them with yum, the X dependencies will be installed automatically |
_____
Quote:
_____________ |
can you provide the output of
Code:
echo uname: && uname -a -m -p && echo lspci: && lspci && echo lsusb: && lsusb && echo lsmod: && lsmod && echo ifconfig: && ifconfig && echo ifconfig -a: && ifconfig -a && echo iwconfig: && iwconfig && echo resolv.conf: && cat /etc/resolv.conf && echo route: && route -n && echo ping router: && ping -c 1 `route | awk '/default/ {print $2}'` && echo ping dns-server: && ping -c 1 `awk '/nameserver/ {print $2}' /etc/resolv.conf | head -n 1` && echo ping using ip: && ping -c 1 64.235.229.141 && echo ping using dns: && ping -c 1 www.02144.com |
cajunchief
at the command line do: Code:
ifconfig 1. /etc/sysconfig/network 2. /etc/sysconfig/network-scripts/ifcfg-eth0 <---- could POSSIBLY be different from eth0 - use the interface shown in the ifconfig output The /etc/sysconfig/network file should contain the following line: NETWORKING=yes The /etc/sysconfig/network-scripts/ifcfg-eth0 file should contain the following lines: DEVICE=eth0 <---- could POSSIBLY be different from eth0 - use the interface shown in the ifconfig output BOOTPROTO=dhcp ONBOOT=yes If your router is not using DHCP, you will need to figure out what network it is in. (typically something like 192.168.1.0 255.255.255.0) You will still need to edit the same two files, but like this instead: The /etc/sysconfig/network file should contain the following line: NETWORKING=yes 2. /etc/sysconfig/network-scripts/ifcfg-eth0 <---- could POSSIBLY be different from eth0 - use the interface shown in the ifconfig output DEVICE=eth0 BOOTPROTO=none ONBOOT=yes NETWORK=192.168.1.0 IPADDR=192.168.1.10 <----IP address selected to be in the same subnet as the router NETMASK=255.255.255.0 <----Same subnet mask as the router GATEWAY=192.168.1.1 <----Should be the IP address of the router USERCTL=no Here is the full text if you need it.... lots of information here..... |
Quote:
CentOS6 and SL6 have been way easier to install than Fedora or OpenSUSE or oven kali and Arch it is one of the easiest to install you use the DEFAULT settings for EVERYTHING then after it is installed you make changed to the software with one exception If you DO NOT !!!! have any ipv6 service DISABLE THAT at the time of install . using the installer to disable that . Quote:
now if a TEXT ONLY install ( server install) then x was NOT installed Quote:
kde4 and xfce can be installed you select the desktop after you put in your used name and before the password Quote:
if you did a headless server TEXT ONLY install it is not installed Quote:
you installed a headless SERVER x11 and NO desktop were installed servers do not need a GUI at this point it is EASIER to reinstall using the GUI and NOT text only install but you can "fix it" but without installing the tools to configure the network ??? you wil lneed to use the dvd and install them but if you are going to do that . Then just reinstall |
if you did a headless server TEXT ONLY install it is not installed
Quote: When I did the install I selected "basic server" instead of "desktop". well right there is the problem you installed a headless SERVER x11 and NO desktop were installed servers do not need a GUI Thanks JohnVV. I believe you are correct. I think I need to re-install. Thanks to all others for your help too. |
Another damn interesting day
I re-installed Linux as JohnVV indicated I should. I now have Gnome up and working :). However, I still have the problem with my network not working?
So here are my questions: 1. Since I have Gnome installed, can I have my computer boot up into a terminal window or Gnome at my choice? 2. How do I get my dang network up and running? cajunchief |
Quote:
Code:
sudo ln -s /lib/systemd/system/runlevel3.target /etc/systemd/system/default.target Code:
[schneidz@mom ~]$ ll /lib/systemd/system/runlevel[0-6].target |
Quote:
|
^ not sure. if your router has dhcp enabled then your router would automatically supply your devices with ip/dns/routing addresses. if not then you will need to provide static addresses to each of your devices.
|
You have not provided any information about your network adapter.
The installer would of asked some questions about finding the adapter and configuring it for DHCP or static and setting it as active. We need to do some troubleshooting. In in addition to post #5: Just to cover all bases, is this a real or virtual machine? Never mind, dual boot Look at the output of the dmesg command, does it show any error messages relating to eth0? Does it show that the network adapter is being recognized? Post the output of the lspci command line for the ethernet adapter. This will tell us the manufacture/chipset. |
Quote:
RHEL6 is using SystemV and fedora20 is using SystemD cent uses the int system as to the network you have provided no information on that First What is it ? 56k dial up ? dsl? dsl2? cable? Fiber? wireless? wireless using a usb dongle or your phone ? |
Quote:
cajunchief |
a intel i5 Chip
is the CPU "Central Processing Unit" it is NOT a Ethernet card nor a dial-up modem nor cable/fiber modem |
All times are GMT -5. The time now is 08:33 AM. |