Previous Thread
Next Thread
Print Thread
Rate Thread
#16033 04/24/04 09:02 PM
Joined: Aug 2003
Posts: 68
M
MESELF Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Aug 2003
Posts: 68
hey guys just wondering if any of you guys would be able to help me with a little problem i am having in linux.
166MHz Pentium
16MB RAM
3Com 3c905-TX NIC
Maxtor 2GB HDD
ISA Adaptor Card with an ISA to PCI bridge
something is wrong with network setup i think because when it boots up it initializes the 3c59x module (NIC driver) which is correct then runs dhcpcd to get an ip from my router. when dhcpcd executes i can see the activity light on the nic light up as well as the '100' light being permanently lit up. dhcpcd just times out and after it finishes booting the only thing ifconfig reports is lo. ifconfig eth0 gives legit stats and no errors, but there is no line for 'inet addr:' like there is for lo which just says '127.0.0.1'. i am thoroughly confused.

#16034 04/25/04 12:32 AM
Joined: Mar 2002
Posts: 1,041
I
UGN Elite Poster
Offline
UGN Elite Poster
I
Joined: Mar 2002
Posts: 1,041
open a terminal and type 'ifconfig eth0'. Does it show anything? Make sure everything is the way it's supposed to look.

And moved to *nix forum

#16035 04/25/04 06:59 AM
Joined: Jun 2002
Posts: 207
Member
Offline
Member
Joined: Jun 2002
Posts: 207
what does the network setup look like? do you have a dhcp server? a router hooked up? is it on a cable connection? are you using just a hub for a small lan? if yes to the last one try this:
ifconfig eth0 [ip address] up
the ip can be any arbitrary ip, as long as you set the subnet mask correctly for the rest of the network (and for the linux box)
that probably woudln't work for some of the other setups though. let us know.//


Unbodied unsouled unheard unseen
Let the gift be grown in the time to call our own
Truth is natural like a wind that blows
Follow the direction no matter where it goes
Let the truth blow like a hurricane through me
#16036 04/25/04 05:35 PM
Joined: Aug 2003
Posts: 68
M
MESELF Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Aug 2003
Posts: 68
no. it is on a router running a dhcp server. the router is hooked to a cable modem for internet. there is no hub. the computer i am using to type this is hooked up directly to the router, and the old machine is in the same room so i just switch the ethernet cable to the old machine for testing (i know this does not cause problems with the router cuz it works with my xbox) ifconfig eth0 gives lots of info:

Link encap:Ethernet HWaddr 00:60:08:8E:FD:0F
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:1100 (1.1 Kb)
Interrupt:11 Base address:0x1000

the only thing is that there is no ip address listed, i assume because dhcpcd fails at bootup where it says "broadcasting DHCP_DISCOVER" (thats where it times out, which is like the first step dhcpcd echoes to me). oh and when it says broadcasting DHCP_DISCOVER the "act" light on the nic does flash. the only thing i can think of is that i bought a bogus nic(?). i could try takin the nic out of the machine i am typing this on and putting it in the old computer if you guys think it would be worthwhile to try. and i am too lazy to try static ip unless you guys absolutely insist that i try it, cuz dhcp is so much simpler cuz i dont have to think about all the ip crap.

#16037 04/25/04 07:02 PM
Joined: Jun 2002
Posts: 207
Member
Offline
Member
Joined: Jun 2002
Posts: 207
anything you think could work would always be worthwhile to try. if it is the nic, you could always just go out and buy a new one for like $20. i'm out of ideas though. dhcp does make thigns easier. but, if worst comes to worst, it wouldn't be so hard to stick in a few ifconfig lines into your startup scripts to set up your ip and stuff.//


Unbodied unsouled unheard unseen
Let the gift be grown in the time to call our own
Truth is natural like a wind that blows
Follow the direction no matter where it goes
Let the truth blow like a hurricane through me
#16038 04/25/04 07:31 PM
Joined: Aug 2003
Posts: 68
M
MESELF Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Aug 2003
Posts: 68
this is not good lol. im not even sure the computer is worth $20.

#16039 04/26/04 02:51 AM
Joined: Mar 2002
Posts: 1,041
I
UGN Elite Poster
Offline
UGN Elite Poster
I
Joined: Mar 2002
Posts: 1,041
Oddly enough I have something of the same problem going on at home right now too. My router's DHCP server and my laptop's client don't see to want to talk anymore. I just set a static IP in the right subnet and forgot about the issue. What kind of router do you have out of curiosity?

#16040 04/26/04 03:17 AM
Joined: Mar 2002
Posts: 815
S
nobody
Offline
nobody
S
Joined: Mar 2002
Posts: 815
When I was using an ISA nic I had to use a few different modules before i could get the card to work. One for the pcibridge, one for isa pnp, and one for the card. You might have to recompile your kernel for this support. A lot of isa cards have really crappy support in linux becuase frankly they arent that widely used. What is the exact manufactuer and model of your network card?
Try to investigate the problem using dmesg. Commands like dmesg | grep isa or dmesg | grep eth should show you if your card is detected and if it's finding a corresponding module.

#16041 04/27/04 01:22 AM
Joined: Aug 2003
Posts: 68
M
MESELF Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Aug 2003
Posts: 68
funny thing is its not an isa card. its a pci card but i think ibm's damn proprietary parts route the pci through the isa bus with some kind of adapter (daughterboard?). the router is a...hmm. i think gigafast? its in the closet. yes thats right its a gigafast. the dhcp on the machine has never worked. ive been fighting with it for god knows how long. see i don't really understand how to set up static ip. maybe if one of you guys could point me somewhere to learn how i could try it. also would the "-TX" on the end of the card signify anything that would cause a problem like this? just wondering. well maybe i will try static ip. just point me where to go and set me off. oh and
manufacturer: 3Com
and on the card itself by where it says 3com it says
3c905-TX (which is what i payed for, so at least i didn't get screwed there)

#16042 04/27/04 01:36 AM
Joined: Aug 2003
Posts: 68
M
MESELF Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Aug 2003
Posts: 68
heh. i feel like an idiot. i got static ip working for the machine im on now. last time i forgot to specify a dns server. so im just using the one my router reports as its "wan dns server" or something like that. so now how do i do it in linux?

#16043 04/27/04 11:25 AM
Joined: Mar 2002
Posts: 815
S
nobody
Offline
nobody
S
Joined: Mar 2002
Posts: 815
echo "nameserver ip.adress.goes.here" > /etc/resolve.conf

#16044 04/27/04 01:15 PM
Joined: Aug 2003
Posts: 68
M
MESELF Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Aug 2003
Posts: 68
hmm that works? that seems too simple. don't i have to set the gateway,subnet,and ip? and what is nameserver? (sorry for my ignorance)

#16045 04/27/04 04:50 PM
Joined: Oct 2002
Posts: 616
UGN Super Poster
Offline
UGN Super Poster
Joined: Oct 2002
Posts: 616
dood for real netconfig

do a netconfig

setup your router's ip address should be 192.168.1.100 or 192.168.1.1

an open ip to use, and your dns, on static. don't choose dhcp under netconfig.

Then, if that doesn't work, choose dhcp, and enter the settings you need to. I believe just gateway, and ip. If that. yes echoing the nameserver into /etc/resolv.conf will work. resolv.conf

but so will emacs /etc/resolv.conf and entering it manually. or whatever you wanna use as a editor. I'd suggest startx, and get under xfree. Go gui till you get your box online. Also after your on, log fully out, and log into a new user that's not root. Like adduser whateverusername
Bla bla bla

Deluser or userdel deletes I forget which they changed it a bit back. Um, do this as to not be under super user access online, it's safer, don't ask. Also su to root via. su root then enter the password for root. Do not list info such as passwords online at all. Obvious stuff, But I'm being bluntly obvious.

If this does not work, post again. But all of this should, as this whole thread has gone on to long, I decided to post, and um...I'm guessing by the whole ordeal of the post that you don't know what I'm saying is a good thing to do. All of it. So...try it out, whatever, have fun.


"Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!"
#16046 04/27/04 06:28 PM
Joined: Aug 2003
Posts: 68
M
MESELF Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Aug 2003
Posts: 68
tried setting up(netconfig):
gateway = 192.168.8.1(router ip)
nameserver = 68.11.16.25 (cox dns)
ip = 192.168.8.17 (what this computer uses)
subnet mask = 255.255.255.0
hostname = "ibm"
domain = "mynet"
(the last two it forced me to enter something so i just put in something).
still no go! if i type "ping 192.168.8.1" it starts pinging but gets 100% packet loss like my router is saying [censored] you or something. and if i try to ping the nameserver it gives "ret=-1" "Network is unreachable".
Edit: And the router is a Gigafast EE400R

#16047 04/27/04 10:55 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
for your name server, enter in your router ip; i have to have that with mysetup.


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#16048 04/28/04 01:09 AM
Joined: Aug 2003
Posts: 68
M
MESELF Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Aug 2003
Posts: 68
alright on this computer switching the nameserver to 192.168.8.1 worked but why would that make a difference as to whether or not i could ping the router? i mean i'll try changing that on the old machine but i don't see how it would change the fact that the router is ignoring me (at least i assume thats what is happening.) also, i've heard of this card having some issues with full duplex/half duplex...could that cause a severe problem like this?

#16049 04/28/04 01:19 AM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Because you are telling it to use comcast for an ns server when, according to your pc with no connection, there is no comcast (or whatever isp).

Your pc doesn't speak to the internet, it speaks to your router, so you use internal information. If you use external information it'll sit and ponder what the [censored] you're trying to do...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#16050 04/28/04 09:18 PM
Joined: Mar 2002
Posts: 815
S
nobody
Offline
nobody
S
Joined: Mar 2002
Posts: 815
I dont use my router as a nameserver....
I use comcast's name servers shown set up like I told you earlier. You can use external name servers with no problem as long as you set your router's IP as your gateway you'll be all set. You still havent said what card you are using.

#1 do this->
ping 127.0.0.1
#2 if it works ->
ping (your router ip)
#3 works ->
ping (your nameserver ip)
#4 works ->
ping http://www.google.com
#5 if that works everything is fine.

if it fails at #1 your machine is just [censored]. reinstall.
if #2 fails check these commands to make sure everything is set up correctly
route
ifconfig
if it fails at #3 your routers settings are messed up most likely
if it fails at #4 check this command
cat /etc/resolve.conf
then if you get to #5 all is good.

#16051 04/28/04 10:03 PM
Joined: Aug 2003
Posts: 68
M
MESELF Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Aug 2003
Posts: 68
ping 127.0.0.1 works fine, avg time like 0.4ms. ping 192.168.8.1 (router ip) yields no error messages but the ping program doesnt echo anything and then when i ctrl-c it it says something like 24 packets transmitted, 0 packets recieved, 100% packet loss. (i just control-c after a few seconds).
so... (the categories for the table are Destination, Gateway, Genmask, Flags, Metric, Ref, Use, Iface)
route:
localnet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.8.1 0.0.0.0 UG 1 0 0 eth0

ifconfig(the eth0 part):
Link encap:Ethernet HWaddr 00:60:08:8E:FD:0F
inet addr:192.168.8.17 Bcast:192.168.8.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:36
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:3240 (3.1 Kb)
Interrupt:11 Base address:0x1000

the card is a 3Com 3c905-TX with scyld's 3c59x module for the driver
the router is a gigafast EE400R
oh and for some of the pings i accidentally didn't have the ethernet plugged in, just in case that might give some wierd results in ifconfig or something. but for most of them i did.

#16052 04/30/04 04:42 AM
Joined: Mar 2002
Posts: 815
S
nobody
Offline
nobody
S
Joined: Mar 2002
Posts: 815
Well everything looks set up correctly. Since it does recognize the card and it shows up in ifconfig, I doubt it's the module. The settings all look fine, unless there is something im not aware or about your setup(like different routes, additional ethernet cards in your machine, or anything else).
The problem could be physical. Check the cable your using on another machine make sure it's working properly, check the card in another machine if possible to see if it works in there. I don't understand why you would ever need to unplug the ethernet (cable, card, anything...) to ping.

Are you using DHCP or static IP addressing? Try using DHCP and just type in 'dhcpcd' at the root prompt and it will set all that up for you automatically.

#16053 04/30/04 06:43 AM
Joined: Oct 2002
Posts: 616
UGN Super Poster
Offline
UGN Super Poster
Joined: Oct 2002
Posts: 616
I hope to hell he/she is using a dhcp, not a static setup on a router lol. Or this whole coversation just got like wasted, and it will get longer:D Dood meself, come on the irc some time. We all like tech talk once in a while. I'm sure one or more of us would love to help you with network problems. As long as your patient, polite, and nice. Pretty much that works for anything, keeps a geek in a good mood, and for real you'll get that fixed right quick I'd imagine.

I myself may or may not be available. As sin giz, or SR may or may not be. Our "schedules", are...rather hectic. Looking forward to seeing this issue resolved.


"Beware the Jabberwock, my son!
The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
The frumious Bandersnatch!"
#16054 04/30/04 01:42 PM
Joined: Mar 2002
Posts: 815
S
nobody
Offline
nobody
S
Joined: Mar 2002
Posts: 815
My router uses dhcp to connect to my ISP. Internally I use a mix of dhcp and static addressing. My servers use static addresses because port forwarding is easier to set up for static addressing. My laptop and other 'browser' computers use dhcp to connect.

#16055 04/30/04 09:07 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
I prefer static addressing definately; especially with port forwarding from a router smirk


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#16056 04/30/04 11:34 PM
Joined: Aug 2003
Posts: 68
M
MESELF Offline OP
Junior Member
OP Offline
Junior Member
M
Joined: Aug 2003
Posts: 68
heh. thats practically where this all started. i came because dhcp would not work, it just kept timing out. then somone said try static ip so i did. and now i've figured out that for some reason either my router isn't responding to the nic or something is wrong with the nic and its not recieving signals. im gonna try putting the nic in another computer to see if that is whats faulty. oh and the reason for unplugging stuff is this. both computers are in the same room and there is one jack in the wall, so i just take the cable out of this computer and plug it into the old one to test. and there are no other nics or special setups that i know of in the machine.


Link Copied to Clipboard
Member Spotlight
Posts: 30
Joined: June 2002
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Crime 1
Ice 1
Dartur 1
Cyrez 1
Powered by UBB.threads™ PHP Forum Software 7.7.5