• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

Help Me To Access Internet AND Get Away From M$ Windows!

I am a Linux newbie and have just installed eDesktop 2.4 from Caldera's OpenLinux. My machine is an eMachine i366 with 96meg RAM.  In Windows I am connected to cable through an ethernet network card (using DHCP).

My problem is when I open up Netscape and try to go to an internet site, it gives me an error message that says, "Warning: the following hosts are unknown:
     home.netscape.com
     home6.netscape.com
     internic.net"

From Webmin I was able to establish the following:
1. There is no PPP account.
2. There is no DHCP server.

My default server name in my Linux machine is MyName.nodomain.nowhere.

When I typed ifconfig, I got:
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UPLOOKBACK RUNNING MTU:3924 METRIC:1

I don't know a lot about networking and even less when it's in Linux.

Please help and thanks!
0
limva
Asked:
limva
  • 9
  • 5
  • 4
2 Solutions
 
jlevieCommented:
If all you see is the loopback interface in the output of ifconfig, then there's no ethernet card configured. That might be becasue you haven't told the system to enable the NIC and to use DHCP or the system may not have the correct drivers for your NIC. What NIC card is in the machine?
0
 
limvaAuthor Commented:
Sorry for the delay in replying, jlevie.

I looked in the control panel in Windows and it tells me that I have a 3Com Etherlink III ISA (3C509/3C509b) in ISA mode.  I hope that means anything.

0
 
jlevieCommented:
Okay, since it is a 509b the card is probably in PnP mode. It might work that way if PnP mode in the system BIOS is disabled (it your BIOS allows that). Alternatively you can get a diagnostic program from http://www.scyld.com/diag/3c5x9setup.html or from 3Com's site (http://support.3com.com/infodeli/tools/nic/3c509/3c5096.1.htm) that can be used to take the card out of PnP mode and give it a fixed IRQ & I/O port that isn't being used by anything else. You'll want to look at the output of 'dmesg | grep -i irq', the contents of /proc/interrupts, and the contents of /proc/pci to make a list of what IRQ's are currently being used by other devices. From that list you can pick a free IRQ to use on the 3c509. Note that you may also need to tell your system BIOS to reserve the IRQ that you use for the card for 'Legacy' or ISA use. To avoid all the problems that PnP cards cause I always manually set the IRQ for any cards that have that capability. I think that when you get the PnP issue sorted out that your system will be able to see the network.
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
swapsthegreatCommented:
hi,

     An easy way out is to use the netconf utility. if it is not installed you'll have to install the linuxconf rpm. in netconf you can specify your protocol as dhcp. enter the name of the netdevice as eth0 and go to the kernel module field and press ctrl-x . it will give u a list of cards. select your card and accept. if it asks you to make changes then click do it. i dont think ull need to restart.

0
 
limvaAuthor Commented:
Hi swapsthegreat, thanks for your comment.  I've lost access to my Linux drive after I had to reinstall Windows in my C drive.  I'll try your solution after I get back into my Linux drive - hopefully in the next couple of days... :)
0
 
limvaAuthor Commented:
Hello swapsthegreat, I just got back into my Linux drive. I went to Webmin (I think Webmin will be easier on me), and to Network Configuration, then to Network Interfaces.

The only interface showing as now active is:
Name: lo
Type: Loopback
IP Address: 127.0.0.1
Netmask: 255.0.0.0
Status: Up

Interfaces Activated at Boot Time:
Name: eth0
Type: Ethrnet
IP Address: From DHCP
Netmask: 255.255.255.0
Activated at boot? Yes

The second interface showing is lo, which has the same configuration as lo above.  The next interface is:

Name: plip0
Type: PLIP
IP Address: 10.0.0.1
Netmask: Automatic
Activate at boot? Yes

I don't know if the above info are useful to you or to anybody.  An interesting thing I noticed is that eth0 is not included in the list of active interfaces, but only those activated at boot up.

0
 
limvaAuthor Commented:
A comment to jlevie: I don't think the ethernet card was missed by linux because it was detected at bootup.  I'm not saying that in an authoritative manner because I know very little about networking :)
0
 
jlevieCommented:
According to what webmin shows the NIC is visible to the system and it is configured. Now we know that it isn't visible in the output of 'ifconfig -a' because it isn't negotiating a DHCP assigned IP. The likely cause of the failure for the card to get a DHCP assignment is what I addressed in my previous comment. 3c509b cards work fine with Linux when they aren't in PnP mode, but I think I've only seen a few cases where they worked when in PnP mode.
0
 
swapsthegreatCommented:
hi

if u dont have netconf u can manually configure your card as follows:

edit /etc/sysconfig/network-scripts/ifcfg-eth0 file

Leave the ip address and net mask field blank
and set
ONBOOT="yes"
BOOTPROTO="dhcp"
save the file
and make it executable using chmod +x ifcfg-eth0
ull need to reload ur network
go to ur / directory
and type /etc/rc.d/init.d/network reload

tell me if it doesnt work
0
 
limvaAuthor Commented:
Thanks to both of you for your comments.

Swapsthegreat, I went into the ifcfg-eth0 file and found the following:

#!/bin/sh
#>>>Device type: ethernet
#>>>Variable declarations:
DEVICE=eth0
IPADDR=192.168.1.2
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
ONBOOT=yes
DYNAMIC=dhcp
#>>>End variable declarations

Do I clear the IP address and the netmask?
0
 
swapsthegreatCommented:
hi

     yes clear both and comment out the network,gateway and broadcast fields. I'm sendin u my file so that u get a better idea.i think u have mistyped the dynamic= field in ur posting. heres my file

DEVICE="eth0"
IPADDR=""
NETMASK=""
ONBOOT="yes"
BOOTPROTO="dhcp"



u leave the ipaddr and mask blank because it is dynamically assigned by ur isp.




0
 
limvaAuthor Commented:
No, there was no "BOOTPROTO=" field in my file, only "DYNAMIC=".  I'll try your suggestion and I'll let you know what happens.  Thanks!
0
 
limvaAuthor Commented:
No, there was no "BOOTPROTO=" field in my file, only "DYNAMIC=".  I'll try your suggestion and I'll let you know what happens.  Thanks!
0
 
limvaAuthor Commented:
Hi swapsthegreat, I cleared out the IP address and the netmask and rebooted the system.  It still couldn't find anything on the internet.  I did not clear network, broadcast or gateway though.

I should also mention to jlevie that my NIC is not PnP but legacy.
0
 
jlevieCommented:
If the NIC is an ISA card, did you tell the BIOS to reserve that IRQ for ISA use? And more importantly have you checked to see if there is a resource conflict, per my earlier comment?
0
 
swapsthegreatCommented:
hi

     i dont think the problem is with card detection. ull obviously have to comment out the gateway and broadcast fields and try again
0
 
limvaAuthor Commented:
I deleted the 3 other fields (NETWORK, BROADCAST and GATEWAY) but it still didn't work.

I noticed something though when the system is booting up.  When it comes to DHCP Servers, it says "skip".  So maybe the DHCP Server is not being initialized when the systems boots.  If that is so, how do I get it to initialize?

0
 
swapsthegreatCommented:
type netconfig
it will ask u whether to enable networking
select yes
then it will give an ip configuration screen
select Use DHCP by pressing space
reboot and try
lemme kno
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 9
  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now