Click to See Complete Forum and Search --> : no internet


qqmajikpp
09-21-2004, 10:12 PM
im running slackware 10
im using the default kernel
dlink nic
im have a direct conneciton to my cable modem. and ifconfig returns 127.0.0.1 (no ip)

im trying to connect to the internet. my cable modem says thats its connected and ready but slackware says otherwise... any tips?

bgunn
09-21-2004, 10:24 PM
Could it be a routing table issue. What is the default gateway interface set to? Make sure it is set to your NIC.

Regards, Ben

techwise
09-21-2004, 11:14 PM
Looks like Slack did not recognize your NIC on the install.

as root, run "netconfig"

then see if eth0 shows up in ifgonfig.

mike

qqmajikpp
09-22-2004, 07:28 AM
i was set up to use a dhcp at first... this time i set up a static ip since its the only one connecting to the internet.

im guessing eth0 is supposed to be at the top ehter before Link encap: or on the link encap: line.
actually i dont see it anywhere and

Link encap: Local Loopback

JohnT
09-22-2004, 10:57 AM
Runlsmod see if it loaded.

qqmajikpp
09-22-2004, 11:32 AM
it's loaded

i tried ifconfig eth0 up

then dmesg

it links up

but something else aint right

JohnT
09-22-2004, 11:44 AM
Attach as .txt your results fromifconfig

qqmajikpp
09-22-2004, 12:17 PM
man some crazyness is going on
okay... the activity lite on my NIC doesnt blink... ever. but the green lite is on when i plug in the cable. sometimes the modem says it's connected to the computer and sometimes it doesnt but dmesg shows that it connects and disconnects the way that it has. sometimes the modem does show that it connects to the linux box... i have no problems with my laptop. the modem ALWAYS connects to my laptop (winxp and even when i run phlak live on it it connects just as easily)


ifconfig turns up this
(i dont know how to save the output or hot o find it and put it on disk)

# ifconfig eth0
eth0 Link encap: Ethernet HWaddr 00:50:BA:44:8E:C8
UP 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:0 collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1180 (1.1 kb)
Interupt:10 Base address:0x3c00

I've had more sent packets before
I tried setting a static IP and saw an IP in there too but its set dhcp rigth now... you can probably tell.

JohnT
09-22-2004, 12:24 PM
(i dont know how to save the output or hot o find it and put it on disk)Left-button hold down...highlight the output in your terminal..open up a text editor......middle-click in the text editor.

Now attach as .txt the complete output of "ifconfig" and the output of "route".

qqmajikpp
09-22-2004, 07:16 PM
well i usually try to figure this whole network thing out before startx

JohnT
09-22-2004, 07:42 PM
Originally posted by qqmajikpp
well i usually try to figure this whole network thing out before startx OK then do it in pico.

qqmajikpp
09-22-2004, 07:48 PM
well... i did just type it out...

2-3 posts up i think?

JohnT
09-22-2004, 08:12 PM
Originally posted by qqmajikpp
well... i did just type it out...

2-3 posts up i think?

And below that I typed......
Originally posted by JohnT
Now attach as .txt the complete output of "ifconfig" and the output of "route ".

qqmajikpp
09-22-2004, 08:27 PM
heh
im sorry
i must have read to fast and made an assumption

the modules loaded are:

uhci
usbcore
8139too
mii
crc32
pcmcia_core (dont know why... it isnt a laptop)
ide-scsi
agpgart

and route tuns up:

destination:
loopback

gateway:
*

genmask:
255.0.0.0

flags:
U

Metric:
0

Ref:
0

Use Iface
0 lo

JohnT
09-22-2004, 08:36 PM
If you will attach those as .txt it will make it more readable. To attach when on the reply page just above the "Submit Reply" button you wiil see "Attach File/Browse". Attach your complete "lsconfig" rather than "lsmod" along with the "route". Thanks

qqmajikpp
09-22-2004, 09:13 PM
it wont copy to disk

Tanatz
09-22-2004, 10:14 PM
I'm having the same problem as you, I'm getting an error message saying:

SIOCSIFFLAGS Function not implemented

ifconfig only shows lo, I can bring lo down then up again no problem, but I can't bring eth0 up. my eth0 is assigned an IP but no internet yet...

sorry for hijacking your thread!