FC12: can't use internet in Linux
Can't use Internet all of a sudden. Same IP address, Gateway, etc... as Windows.
Linux --> Can't use Internet Windows --> Internet OK?! The Gateway disappears on its own. The IP address and everything else automatically resets to a blank and doesn't save my settings even though I clicked it to save. Restarting the computer doesn't help either. It also happened one time where Windows can't get access to Internet and Linux is OK, but resetting the IP does helps. Thanks. |
What does the ifconfig command return under Linux?
|
Give us the following details?
1. What type of IP address you're using? Static or DHCP? 2. what are u getting if you execute 'ifconfig' 3. IP, Subnetmask and gateway info. 4. Content of /etc/sysconfig/network-scripts/ifcfg-eth0 |
Static IP
ifconfig = eth0 Link encap:Ethernet Hwaddr 00:16:76:51:F1:A0 UP BROADCAST MULTICAST MTU:1500 Metric:1 txqueuelen:1000 everything else = 0 or 0.0 eth1 " " : " " 00:18:F8:0E:E9:7D inet addr:192.168.1.1 Bcast:192.168.1.255 -> Mask:255.255.255.0 inet6 addr: fe80:218:f8ff:fe0e:e97d/64 -> Scope:Link Rx packets: 203 errors Tx packets: 37 errors txqueuelen: 1000 Rx bytes: 81892 (79.9 KiB) Tx bytes: 4891 (4.7 KiB) Interrupt: 21 Base address: 0xc00 lo Link encap:Local loopback inet addr: 127.0.0.1 Mask:255.255.255.0 |
/etc/sysconfig/network-scripts/ifcfg-eth0
BOOTPROTO = none DNS2=192.168.1.2 TYPE=Ethernet DNS1=192.168.1.1 ONPARENT=yes NM_CONTROLLED=yes USERCTL=yes DEFROUTE=yes NAME="System eth0" UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 IPADDR=192.168.1.1 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 PREFIX=24 IPV4_FAILURE_FATAL=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_PEERDNS=yes IPV6_PEERROUTES=yes ONBOOT=yes |
Everything else either has a value of "no" or a value of "0" or "0.0", etc...
|
Please re-write the file "/etc/sysconfig/network-scripts/ifcfg-eth0" with the following data,
BOOTPROTO = static TYPE=Ethernet IPADDR=192.168.1.3 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 DNS2=192.168.1.2 DNS1=192.168.1.1 #ONPARENT=yes #NM_CONTROLLED=yes #USERCTL=yes #DEFROUTE=yes #NAME="System eth0" UUID=5fb06bd0-0bb0-45f1-d6edd65f3e03 #PREFIX=24 IPV4_FAILURE_FATAL=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_PEERDNS=yes IPV6_PEERROUTES=yes ONBOOT=yes Then, restart the network service using, "/etc/init.d/network restart". Even after, Internet fails, please let me know, when you're accessing the Internet through LAN or WLAN? Also give me the output of route command "route -n". |
couldn't start Linux today, after ifconfig, etc... last night?
I don't know if it's relevant or not, but after I checked ifconfig, IP address, IP, Submask, gateway, /etc/sysconfig/network-scripts/ifcfg-eth0 last night, I couldn't start Linux today.
Keeps saying "startup failed, give root password to repair", etc... But I put in the root password, and the system doesn't do a thing? I could only press Ctrl+D to reboot the system. Thanks. PS Therefore, there's no way for me to make corrections today? |
It seems like a file system error. Are you able to get the console after entering the password? If so, please reboot the machine to perform file system check.
shutdown -rF now |
Took off Windows hard drive and put it back and now I could go online in Linux? Weird.
I'll try to reset the computer with the values given me. |
blue_print,
I set my Linux box according to what you've told me, and it said failed, and some other program is already using 192.168.1.1 when I tried to shutdown with the code you gave me. route -n is an empty page. Now I can't go online in Linux. I use DSL/Lan? |
Not some other program, other COMPUTER!!!!!.
How many computers are active at the same time with Linux? 2 or more i would say. And you tried to use IP 192.168.1.1, not 192.168.1.3 as suggested. I guess that is why it failed. You better explain your entire network, all devices and PC's connected to your switch/router, and router it self. End please, do not interpret errors, write them EXACTLY as they appear to you, you are confusing people that want to help you. |
DrLove73, Why are you so angry? You are having problems with this so don't help me! I don't want your damn help, if this is what you call it. I'm not confusing anyone. I posted whatever is there. Stop being an a-hole if you really are wanting to help people! Just don't reply anymore if you are NOT willing to help me!
"Not some other program, other COMPUTER!!!!!". : You are wrong. The exact words are "192.168.1.1 is being used by some other program" "How many computers are active at the same time with Linux? 2 or more i would say": You are wrong again. I can only have one active computer at a time, not two BECAUSE I don't have enough memory or disk space for two NETWORKS, F-head! "And you tried to use IP 192.168.1.1, not 192.168.1.3 as suggested. I guess that is why it failed.": You are wrong again. I did try to use 192.168.1.3, but it still won't connect to the Internet, Dumbass! "You better explain your entire network, all devices and PC's connected to your switch/router, and router it self.": Are you a fucking communist or are you trying to crack into my computer? I don't have to explain everything, just ones which I was told to post, and I've already done that. "End please, do not interpret errors, write them EXACTLY as they appear to you, you are confusing people that want to help you.": Do you not fucking speak ENGLISH? Read what I've posted, and stop being a jackass! I'm confusing NO ONE, unless you don't speak ENGLISH! I'm not interpreting anything and I've written exactly what I've seen. Please excuse my French. |
[solved]
Solution:
Change BOOTPRONTO= from "none" to "static" Change IPADDR= to MY specific "IP ADDRESS". Change UUID= to my original one [the one I copied and later edited to the correct one in the postings.] Save. Then close and reopen browser. Problem SOLVED. Could someone put this in SOLVED? |
Quote:
If you are at least close to that level you would read bolded text in my signature explaining how to mark thread SOLVED. And you would also know that beside maybe Moderators you are the only one who can do that. It's not "BOOTPRONTO" but "BOOTPROTO", and @blue_print has written it in his post but you failed to change it in your "ifcfg-eth0" file. I wonder why. So to be honest, you have just implemented @blue_print's knowledge, and if I where you I would thank him by clicking on the "Thanks" button on his helpful post. Quote:
Quote:
Quote:
If I were to use same analogy, I could easily ask you if you are fat New York-er that got even more stupider as a byproduct of the all the dust you inhaled when your government tore down those WTC buildings and then forged evidence to point to Irak so they can plunder their oil deposits. But that would be disrespectful to honest working people living in New York (and the rest of the USA). Quote:
|
All times are GMT -5. The time now is 01:11 AM. |