LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Closed Thread
  Search this Thread
Old 06-11-2010, 08:48 PM   #1
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Rep: Reputation: 15
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.
 
Old 06-11-2010, 08:52 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,397
Blog Entries: 28

Rep: Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165Reputation: 6165
What does the ifconfig command return under Linux?
 
Old 06-11-2010, 09:02 PM   #3
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
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
 
Old 06-11-2010, 10:44 PM   #4
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
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
 
Old 06-11-2010, 10:55 PM   #5
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
/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

Last edited by trien27; 06-13-2010 at 06:31 PM.
 
Old 06-11-2010, 10:55 PM   #6
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
Everything else either has a value of "no" or a value of "0" or "0.0", etc...
 
Old 06-12-2010, 01:12 AM   #7
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
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".
 
Old 06-12-2010, 11:16 AM   #8
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
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?
 
Old 06-12-2010, 11:52 AM   #9
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
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
 
Old 06-13-2010, 09:50 AM   #10
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
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.
 
Old 06-13-2010, 10:17 AM   #11
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
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?

Last edited by trien27; 06-13-2010 at 10:20 AM.
 
Old 06-13-2010, 03:27 PM   #12
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
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.

Last edited by DrLove73; 06-13-2010 at 03:28 PM.
 
Old 06-13-2010, 06:04 PM   #13
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
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.

Last edited by trien27; 06-13-2010 at 06:46 PM.
 
0 members found this post helpful.
Old 06-13-2010, 06:44 PM   #14
trien27
Member
 
Registered: Feb 2005
Location: NYC
Distribution: Fedora 14
Posts: 195

Original Poster
Rep: Reputation: 15
[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?

Last edited by trien27; 06-13-2010 at 06:48 PM.
 
Old 06-14-2010, 06:44 AM   #15
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by trien27 View Post
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?
I doubt that I can be referenced to as a Dumbass since on official MENSA's logic intelligence test I was rated in top 1% of the worlds population.

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:
Originally Posted by trien27 View Post
"Not some other program, other COMPUTER!!!!!". : You are wrong. The exact words are "192.168.1.1 is being used by some other program"
Well, I am a network administrator (both wired and wireless) for only 6 years, I might be wrong, but so far I have never seen that IP is used by any program. Files and folders yes, network ports on some IP? Yes, why not. But IP it self? By a program? never heard of it. When you have IP conflict with another network device, you will be warned that someone else is using that IP also. If you explained exactly what program reported that error, it would be clear what happened. But what ever, you know best.

Quote:
Originally Posted by trien27 View Post
"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!
Hahaha, you should learn network terminology. I was referring to the other computers or routers on your network (network stands for all the devices connected to one another by LAN cables directly or via network switch). And what you referred to as "NETWORK" I fail to understand. It does not look neither as NIC nor OS. Maybe something in between?

Quote:
Originally Posted by trien27 View Post
"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.
And what if I am communist? You are going to get a heart attack :-D ?

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:
Originally Posted by trien27 View Post
"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.
I thought you were speaking English, not French :-) . I had no idea I can read French so this came as a VERY big surprise :-D .

Last edited by DrLove73; 06-14-2010 at 07:38 AM.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remove --write-mostly flag from linux mdadm raid1? (FC12) adrian_stephens Linux - Software 3 08-16-2016 07:05 AM
can't boot windows, just Linux FC12. trien27 Fedora 12 03-11-2010 08:38 PM
upgrading FC12 hectorDUQUE Fedora 7 01-14-2010 12:27 PM
[SOLVED] No certtool in fc12 onlynimal Linux - Newbie 1 12-13-2009 07:36 AM
dnssec fc12 Winanjaya Linux - Security 1 12-10-2009 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration