LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Couldn't connect to internet after installed Fedora 6 (https://www.linuxquestions.org/questions/linux-networking-3/couldnt-connect-to-internet-after-installed-fedora-6-a-518898/)

indyszeto 01-13-2007 04:45 AM

Couldn't connect to internet after installed Fedora 6
 
Hi,

I had installed Fedora in my PC which previously worked well with Windows XP and could browse internet. The motherboard has built in LAN port but I used external LAN card to browse internet in XP era.

With Fedora, I couldn't use firefox to browse internet. I checked my network setting in Fedora.

At device tab, I found that eth0 & eth1 were in non-operational state. Information at Hosts tab, the fields' content were: IP=::1, Name=localhost.localdomain, Aliases=localhost

I opened a shell window (bash). I typed ping 127.0.0.1, it got response so Fedora should recognize my LAN card working. However, as I typed arp then ifconfig commands, shell responsed command not found. The same response returned regardless it's bash, csh or ksh.

I would like to ask what could I do to solve this problem ?

PS: I connect to internet via vDSL modem provided by ISP, no extra login via ISP web page needed to go internet. I could just plug in the modem to PC LAN cable then open IE to browse internet in XP days.

Simon Bridge 01-13-2007 05:12 AM

(GUI method) Using the network device control, you can configure the nic and then activate it.

From terminal "system-config-network".

To use ifconfig, you have to be root.

It has struck me: many windows users expect to start a browser, then find something starts their connections for them. (i.e. IE will start a dialer automatically for dail-up connections.) This sort of thing won't happen in linux. You have to start the connection for a browser to work.

In your case, once the nic is configured and activated you should be fine. Exit with "save settings" and you won't have to reconnect each time you reboot.

baltika_no_9 01-13-2007 07:12 AM

Quote:

Originally Posted by indyszeto
Hi,

I had installed Fedora in my PC which previously worked well with Windows XP and could browse internet. The motherboard has built in LAN port but I used external LAN card to browse internet in XP era.

With Fedora, I couldn't use firefox to browse internet. I checked my network setting in Fedora.

At device tab, I found that eth0 & eth1 were in non-operational state. Information at Hosts tab, the fields' content were: IP=::1, Name=localhost.localdomain, Aliases=localhost

I opened a shell window (bash). I typed ping 127.0.0.1, it got response so Fedora should recognize my LAN card working. However, as I typed arp then ifconfig commands, shell responsed command not found. The same response returned regardless it's bash, csh or ksh.

I would like to ask what could I do to solve this problem ?

PS: I connect to internet via vDSL modem provided by ISP, no extra login via ISP web page needed to go internet. I could just plug in the modem to PC LAN cable then open IE to browse internet in XP days.

Can you post the config file for the ethernet NIC you're using to connect to the modem as that shoud show something. Interestingly the hosts file you show the contents of is the typical FC6 one which assumes you've enable IPV6. It's not a problem i this case but I'd recommend you disable it unless you really need it as it does lead to confusion.

I've built a few FC6 systems and would like to help.

Cheers

indyszeto 01-22-2007 02:11 PM

Quote:

Originally Posted by Simon Bridge
(GUI method) Using the network device control, you can configure the nic and then activate it.

From terminal "system-config-network".

To use ifconfig, you have to be root.

It has struck me: many windows users expect to start a browser, then find something starts their connections for them. (i.e. IE will start a dialer automatically for dail-up connections.) This sort of thing won't happen in linux. You have to start the connection for a browser to work.

In your case, once the nic is configured and activated you should be fine. Exit with "save settings" and you won't have to reconnect each time you reboot.

:newbie: Sorry for LATE LATE REPLY because password LOST previously.

Let me update status, I had done below things :

Login using root account
/sbin/ifconfig -a showed no ip address assigned
service network restart successfully caused ip address assigned

Then browsing using firefox succeeded

But how could I enable fedora to always enable network service ?

Also, I checked from service setting background service tab that many services were not activated (tick not appeared in corresponding check box), where could I get description details of these services and how could I enable those not still disabled but needed services ?

Tks!

Simon Bridge 01-25-2007 04:52 AM

Quote:

But how could I enable fedora to always enable network service ?
Network Device Control
Quote:

where could I get description details of these services and how could I enable those not still disabled but needed services ?
You could google the service names (how do you know they are needed if you don't know what they are? Never mind...) or you could take a look at the FC6 installation notes at www.mjmwired.net - Mauriat has a list of the services with a breif discription.

For that matter, a breif discription is available in the services panel you are looking at. To activate them: see what happens when you click the check box?

UhhMaybe 04-21-2007 06:19 PM

Enable the processes YOU want to start at Boot UP. Disable the processes that YOU do not require at Boot Up. Three choices. A) Network Device Control B) System Processes C)Text Editor.


All times are GMT -5. The time now is 04:42 PM.