LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Newbie question here (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-question-here-70833/)

pearl_zildjian 07-07-2003 09:31 PM

Newbie question here
 
I am a Mandrake Linux :newbie:, please don't flame me :) and im this problem...
I can't connect to the internet im thinking its because
whenever i boot up it goes to the screen that has the passed or failed on the right side and on the left it has what has passed or failed... and whenever it comes down to eth0 it says failed. Ifsomeone would like to help me i would be happy well thanx for some replies (hopefully) u can email me at pearl_zildjian@comcast.net or u can message me through aol instant messsanger at ndopowerfreak20 if im on, if u don't want to do that, then u could always just post a reply thanx :D

Tinkster 07-07-2003 09:35 PM

Do a
Code:

su -
lsmod
lspci -v

and post the output? :)

Cheers,
Tink

pearl_zildjian 07-07-2003 09:40 PM

what? im new man.... like im so new i just installed mandrake today so u gotta give me some slack here.... where do i type that

Tinkster 07-07-2003 09:42 PM

In a terminal window, a console...

pearl_zildjian 07-07-2003 09:44 PM

what do i do with the stuff that comes up? copy it? copy & paste?

Tinkster 07-07-2003 09:47 PM

Yep, please :}

Cheers,
Tink

pearl_zildjian 07-07-2003 10:11 PM

o i forgot to say im running a dual boot with windows xp and mandrake :) and i can use windows xp internet fine but not with mandrake

pearl_zildjian 07-07-2003 10:12 PM

Module Size Used by Not tainted
parport_pc 25096 1 (autoclean)
lp 8096 0 (autoclean)
parport 34176 1 (autoclean) [parport_pc lp]
i810_audio 26248 1
soundcore 6276 0 [i810_audio]
ac97_codec 12488 0 [i810_audio]
nfsd 74256 0 (autoclean)
af_packet 14952 0 (autoclean)
sr_mod 16920 0 (autoclean)
floppy 55132 0
3c59x 29584 1 (autoclean)
nls_iso8859-1 3516 1 (autoclean)
nls_cp850 4316 1 (autoclean)
vfat 11820 1 (autoclean)
fat 37944 0 (autoclean) [vfat]
supermount 15296 3 (autoclean)
ide-cd 33856 0
cdrom 31648 0 [sr_mod ide-cd]
ide-scsi 11280 0
scsi_mod 103284 2 [sr_mod ide-scsi]
acm 7456 0 (unused)
printer 8448 0
usb-uhci 24652 0 (unused)
usbcore 72992 1 [acm printer usb-uhci]
rtc 8060 0 (autoclean)



00:00.0 Host bridge: Intel Corp. 82810 GMCH [Graphics Memory Controller Hub] (rev 03)
Flags: bus master, fast devsel, latency 0

00:01.0 VGA compatible controller: Intel Corp. 82810 CGC [Chipset Graphics Controller] (rev 03) (prog-if 00 [VGA])
Subsystem: Intel Corp. 82810 CGC [Chipset Graphics Controller]
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 10
Memory at ec000000 (32-bit, prefetchable) [disabled] [size=64M]
Memory at e8000000 (32-bit, non-prefetchable) [disabled] [size=512K]
Capabilities: [dc] Power Management version 1

00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02) (prog-if 00 [Normal
decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 00003000-00003fff
Memory behind bridge: e8100000-e81fffff
Prefetchable memory behind bridge: f0000000-f7ffffff

00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02)
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02) (prog-if 80 [Master])
Subsystem: Intel Corp. 82801AA IDE
Flags: bus master, medium devsel, latency 0
I/O ports at 1800 [size=16]

00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corp. 82801AA USB
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1820 [size=32]

00:1f.3 SMBus: Intel Corp. 82801AA SMBus (rev 02)
Subsystem: Intel Corp. 82801AA SMBus
Flags: medium devsel, IRQ 9
I/O ports at 1810 [size=16]

00:1f.5 Multimedia audio controller: Intel Corp. 82801AA AC'97 Audio (rev 02)
Subsystem: Intel Corp.: Unknown device 5643
Flags: bus master, medium devsel, latency 0, IRQ 9
I/O ports at 1200 [size=256]
I/O ports at 1300 [size=64]

01:0b.0 Communication controller: Lucent Microelectronics LT WinModem
Subsystem: Risq Modular Systems, Inc.: Unknown device 044e
Flags: bus master, medium devsel, latency 64
Memory at e8100000 (32-bit, non-prefetchable) [disabled] [size=256]
I/O ports at 3400 [disabled] [size=8]
I/O ports at 3000 [disabled] [size=256]
Capabilities: [f8] Power Management version 2

01:0d.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX [Boomerang]
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at 3440 [size=64]
Expansion ROM at <unassigned> [disabled] [size=64K]

01:0e.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon
7500] (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc: Unknown device 013b
Flags: bus master, stepping, medium devsel, latency 66, IRQ 10
Memory at f0000000 (32-bit, prefetchable) [size=128M]
I/O ports at 3800 [size=256]
Memory at e8110000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [50] Power Management version 2

Tinkster 07-07-2003 10:48 PM

Right ... I just wanted to see whether
the driver and the hardware for your
ethernet match, and they do :} .... this
narrows it down to a setup-problem.

I assume you're using a DSL or cable-
modem? If so, what's the setup in winDOHs
like? Fixed IP, DHCP?

Cheers,
Tink

pearl_zildjian 07-07-2003 10:52 PM

DHCP

Tinkster 07-07-2003 11:11 PM

Well, I'd suggest you go to mandrakes control
center and tell eth0 to go and try DHCP ... I'm
not too familiar with the draks (can't stand them ;}).

Cheers,
Tink

pearl_zildjian 07-07-2003 11:46 PM

well ive tryed doing that b4 but it still didn't work

Tinkster 07-08-2003 01:12 AM

What does
su - ifconfig
say?

Are you getting new IP addresses
each time, or is it only dynamic in
the sense that your device (what
have you got there, broadband-wise?)
gets a new IP but hand out the same to
your comp?

Cheers,
Tink

pearl_zildjian 07-08-2003 01:59 PM

i have a cable modem through a ethernet card and when i went su - ifconfig it did nothing, and i thought maybe u meant ipconfig it still did nothing

Tinkster 07-08-2003 02:33 PM

It's ifconfig, ipconfig is the MS bastardized version
of a Unix command ;)

I did, however, make a mistake
the commands should have been
on separate lines like this
su -
ifconfig
or
su -c ifconfig

Cheers,
Tink

pearl_zildjian 07-08-2003 06:40 PM

nothing happens when i type that

MasterC 07-08-2003 06:53 PM

What Tinkster trying to ask you to do is login as root, to do this, all you have to do is open up a terminal and type:
su -
Then enter root's password, and then on the following line type:
ifconfig

And post what you get from that. If it doesn't work, go ahead and post up the error message you get, error messages are VERY important when troubleshooting.

:)

Also, when you said "I tried going to the Mandrake Control Center but it didn't work" what exactly happened? What did you try, and what didn't work?

Cool

pearl_zildjian 07-08-2003 07:21 PM

sorry Tinkster but im new at this so, ya.... well i guess i did something wrong or mistypped something and it did telle me something when i typed ifconfig:

eth0 Link encap:Ethernet HWaddr 00:10:4B:30:B7:5B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2419 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:145578 (142.1 Kb) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0x3440

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3296 (3.2 Kb) TX bytes:3296 (3.2 Kb)

Tinkster 07-08-2003 07:26 PM

Rrrright ... so, for some reason, it doesn't
get an IP-address assigned which would
explain why it doesn't work :} ...

Please, as root, do:
Code:

cd /var/log
grep dhcp *

and post the output (if any)

If you knew the IP that you get
in windows you could try to
"hardwire" that one ...

Cheers,
Tink

pearl_zildjian 07-08-2003 08:39 PM

here's what it says:

[root@localhost root]# cd /var/log
[root@localhost log]# grep dhcp *
messages:Jul 7 14:48:55 localhost drakconnect[2025]: running: /bin/rpm > /dev/null -q dhcp-client
messages:Jul 7 14:48:55 localhost drakconnect[2025]: running: /bin/rpm > /dev/null -q dhcp-client
messages:Jul 7 14:49:24 localhost drakconnect[2001]: running: /bin/rpm > /dev/null -q dhcp-client
messages:Jul 7 14:49:30 localhost drakconnect[2001]: running: /bin/rpm > /dev/null -q dhcp-client
messages:Jul 7 14:51:11 localhost drakconnect[3332]: running: /bin/rpm > /dev/null -q dhcp-client
messages:Jul 7 14:52:05 localhost drakconnect[3332]: running: /bin/rpm > /dev/null -q dhcp-client
messages:Jul 8 16:27:43 localhost drakconnect[2732]: running: /bin/rpm > /dev/null -q dhcp-client
messages:Jul 8 16:33:12 localhost drakconnect[2977]: running: /bin/rpm > /dev/null -q dhcp-client
messages:Jul 8 16:55:30 localhost drakconnect[1831]: running: /bin/rpm > /dev/null -q dhcp-client
messages:Jul 8 16:55:45 localhost drakconnect[1831]: running: /bin/rpm > /dev/null -q dhcp-client
syslog:Jul 7 14:48:55 localhost drakconnect[2025]: running: /bin/rpm > /dev/null -q dhcp-client
syslog:Jul 7 14:48:55 localhost drakconnect[2025]: running: /bin/rpm > /dev/null -q dhcp-client
syslog:Jul 7 14:49:24 localhost drakconnect[2001]: running: /bin/rpm > /dev/null -q dhcp-client
syslog:Jul 7 14:49:30 localhost drakconnect[2001]: running: /bin/rpm > /dev/null -q dhcp-client
syslog:Jul 7 14:51:11 localhost drakconnect[3332]: running: /bin/rpm > /dev/null -q dhcp-client
syslog:Jul 7 14:52:05 localhost drakconnect[3332]: running: /bin/rpm > /dev/null -q dhcp-client
syslog:Jul 8 16:27:43 localhost drakconnect[2732]: running: /bin/rpm > /dev/null -q dhcp-client
syslog:Jul 8 16:33:12 localhost drakconnect[2977]: running: /bin/rpm > /dev/null -q dhcp-client
syslog:Jul 8 16:55:30 localhost drakconnect[1831]: running: /bin/rpm > /dev/null -q dhcp-client
syslog:Jul 8 16:55:45 localhost drakconnect[1831]: running: /bin/rpm > /dev/null -q dhcp-client
user.log:Jul 7 14:48:55 localhost drakconnect[2025]: running: /bin/rpm > /dev/null -q dhcp-client
user.log:Jul 7 14:48:55 localhost drakconnect[2025]: running: /bin/rpm > /dev/null -q dhcp-client
user.log:Jul 7 14:49:24 localhost drakconnect[2001]: running: /bin/rpm > /dev/null -q dhcp-client
user.log:Jul 7 14:49:30 localhost drakconnect[2001]: running: /bin/rpm > /dev/null -q dhcp-client
user.log:Jul 7 14:51:11 localhost drakconnect[3332]: running: /bin/rpm > /dev/null -q dhcp-client
user.log:Jul 7 14:52:05 localhost drakconnect[3332]: running: /bin/rpm > /dev/null -q dhcp-client
user.log:Jul 8 16:27:43 localhost drakconnect[2732]: running: /bin/rpm > /dev/null -q dhcp-client
user.log:Jul 8 16:33:12 localhost drakconnect[2977]: running: /bin/rpm > /dev/null -q dhcp-client
user.log:Jul 8 16:55:30 localhost drakconnect[1831]: running: /bin/rpm > /dev/null -q dhcp-client
user.log:Jul 8 16:55:45 localhost drakconnect[1831]: running: /bin/rpm > /dev/null -q dhcp-client
[root@localhost log]#

Tinkster 07-08-2003 08:55 PM

Ummmph ... not very informative, is it? :/

K, next attempt: can you post the contents of
/etc/sysconfig/network-scripts/draknet_conf
please?

Cheers,
Tink

pearl_zildjian 07-08-2003 09:27 PM

maybe i did something wrong.... im thinking i probably am not supposed to type that in a console... heres what it did:

[root@localhost root]# /etc/sysconfig/network-scripts/draknet_conf
-bash: /etc/sysconfig/network-scripts/draknet_conf: No such file or directory

v00d00101 07-08-2003 09:49 PM

try opening it with emacs.

emacs /etc/sysconfig/network-scripts/draknet_conf

or if its executable

./etc/sysconfig/network-scripts/draknet_conf

pearl_zildjian 07-08-2003 09:51 PM

whats emacs? and if it is executable do i type ./etc/sysconfig/network-scripts/draknet_conf in a console?

Tinkster 07-08-2003 10:48 PM

Quote:

Originally posted by pearl_zildjian
maybe i did something wrong.... im thinking i probably am not supposed to type that in a console... heres what it did:

[root@localhost root]# /etc/sysconfig/network-scripts/draknet_conf
-bash: /etc/sysconfig/network-scripts/draknet_conf: No such file or directory

contents of = "use a tool like less to display it"

Ummm ...
ls -l /etc/sysconfig/network-scripts/

If it shows a file called draknet<sumptn> (not
the default, though...)

less /etc/sysconfig/network-scripts/draknet<sumptn>

Cheers,
Tink

pearl_zildjian 07-08-2003 11:43 PM

here's what happened:


[root@localhost root]# ls -l /etc/sysconfig/network-scripts/
total 192
-rw------- 1 root root 0 Jul 8 19:09 drakconnect_conf
-rw------- 1 root root 0 Jul 8 19:09 drakconnect_conf.default
-rwxrwxr-x 1 root root 38 Jul 8 19:09 ifcfg-eth0*
lrwxrwxrwx 1 root root 22 Jul 7 09:53 ifcfg-lo -> ../networking/ifcfg-lo
lrwxrwxrwx 1 root root 20 Jul 7 09:53 ifdown -> ../../../sbin/ifdown*
-rwxr-xr-x 1 root root 1026 Jan 23 2001 ifdown-aliases*
drwxr-xr-x 2 root root 4096 Mar 12 15:37 ifdown.d/
-rwxr-xr-x 1 root root 4133 Mar 12 15:37 ifdown-ipv6*
-rwxr-xr-x 1 root root 1296 Mar 12 15:37 ifdown-post*
-rwxr-xr-x 1 root root 1092 Mar 12 15:37 ifdown-ppp*
-rwxr-xr-x 1 root root 1863 Mar 12 15:37 ifdown-sit*
-rwxr-xr-x 1 root root 902 Jun 26 2002 ifdown-sl*
lrwxrwxrwx 1 root root 18 Jul 7 09:53 ifup -> ../../../sbin/ifup*
-rwxr-xr-x 1 root root 13129 Jan 31 15:49 ifup-aliases*
drwxr-xr-x 2 root root 4096 Mar 12 15:37 ifup.d/
-rwxr-xr-x 1 root root 9667 Mar 12 15:37 ifup-ipv6*
-rwxr-xr-x 1 root root 821 Jun 26 2002 ifup-ipx*
-rwxr-xr-x 1 root root 689 Jun 26 2002 ifup-plip*
-rwxr-xr-x 1 root root 926 Jun 26 2002 ifup-plusb*
-rwxr-xr-x 1 root root 2737 Mar 12 15:37 ifup-post*
-rwxr-xr-x 1 root root 3918 Jan 13 22:46 ifup-ppp*
-rwxr-xr-x 1 root root 868 Nov 12 2002 ifup-routes*
-rwxr-xr-x 1 root root 3545 Mar 12 15:37 ifup-sit*
-rwxr-xr-x 1 root root 1646 Jun 26 2002 ifup-sl*
-rwxr-xr-x 1 root root 2821 Jun 27 2002 ifup-wireless*
-rwxr-xr-x 1 root root 5512 Mar 12 15:37 init.ipv6-global*
-rwxr-xr-x 1 root root 103 Jul 8 19:08 net_cnx_down*
-rwxr-xr-x 1 root root 122 Jul 8 19:08 net_cnx_pg*
-rwxr-xr-x 1 root root 92 Jul 8 19:08 net_cnx_up*
-rwxr-xr-x 1 root root 103 Jul 8 19:09 net_down.default*
-rwxr-xr-x 1 root root 122 Jul 8 19:09 net_prog.default*
-rwxr-xr-x 1 root root 38 Jul 8 19:09 net_resolv.default*
-rwxr-xr-x 1 root root 92 Jul 8 19:09 net_up.default*
-rw-r--r-- 1 root root 4756 Mar 12 15:37 network-functions
-rw-r--r-- 1 root root 42053 Mar 12 15:37 network-functions-ipv6
[root@localhost root]# less /etc/sysconfig/network-scripts/draknet
/etc/sysconfig/network-scripts/draknet: No such file or directory
[root@localhost root]# less /etc/sysconfig/network-scripts/draknet<sumptn
-bash: sumptn: No such file or directory
[root@localhost root]# less /etc/sysconfig/network-scripts/draknet<sumptn>
-bash: syntax error near unexpected token `newline'
[root@localhost root]# less /etc/sysconfig/network-scripts/draknet<sumptn>
-bash: syntax error near unexpected token `newline'
[root@localhost root]# less /etc/sysconfig/network-scripts/draknet<sumptn>
-bash: syntax error near unexpected token `newline'
[root@localhost root]#

MasterC 07-09-2003 01:23 AM

So then:
less /etc/sysconfig/network-scripts/draknet_conf
And post up the contents displayed.

Less is a text reader, works great when all you want to do is view the text, and not edit anything.

Cool

pearl_zildjian 07-09-2003 11:04 AM

I am thinking maybe the file is corupt or soemthing.... but then again i am a :newbie: so here's what it gave me:

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
/etc/sysconfig/network-scripts/drakconnect_conf lines ?-?/? (END)

Tinkster 07-09-2003 02:48 PM

Looks like Mandy changed the name of
the file with the most recent major release
jump ... how microsoftish of them ... :D

less /etc/sysconfig/network-scripts/drakconnect_conf

Cheers,
Tink

pearl_zildjian 07-09-2003 03:37 PM

so tinkster.... do i type

less /etc/sysconfig/network-scripts/drakconnect_conf

in the console? because that looks to me like its exactly the same as what i typed b4 :)

Tinkster 07-09-2003 05:26 PM

Oops ... thought that was the result
of what MasterC had suggested ...

The file is actually empty?
Hard to believe ... did the draknet
config process die on you or what?

Cheers,
Tink

pearl_zildjian 07-09-2003 05:31 PM

i don't think so

Tinkster 07-09-2003 07:06 PM

Well, I'm sorry mate, I can't help you on from
here ... I'm not familiar enough with the Micky-
Mouse-Distro, specially with the more recent
releases, to navigate you blind-folded... (don't
know the graphical tools, and can't stand SysV
init-scripts ...)

Good luck, anyway.

Cheers,
Tink

pearl_zildjian 07-09-2003 07:14 PM

:( hopefully someone else could help me because im a huge :newbie: and i don't know what to do :(

JZL240I-U 07-10-2003 01:15 AM

Quote:

Originally posted by pearl_zildjian
so tinkster.... do i type

...

in the console? because that looks to me like its exactly the same as what i typed b4 :)

less /etc/sysconfig/network-scripts/drakconnect_conf
less /etc/sysconfig/network-scripts/draknet_conf

are identical then ?

;)

Oops, that was meant as an answer for post #30 in this thread. Forum mislead me here, I thought it was the last post...

MasterC 07-10-2003 11:26 AM

http://masterc.no-ip.org/tutorials/DHCP.html

I'll explain the pictures to you...
The first one you should look at is:
standard.png
This is the first screen. It's a fresh install, and although it's 9.0 the rules haven't changed much, everything should still apply.
The second one:
Software2.png
This is showing you where to go to in the Mandrake Control Center (which is the eighth icon over on the taskbar in my screenshot)
Click the connection icon and...
Network1.png
Should appear. At this point choose the wizard button at the bottom, you should now see:
Network2.png
Click the Auto Detection square, and then next, now we see:
network3.png
Here you will click on ADSL connection, and then click next:
network4.png
Make sure you've got the "use bootp/dhcp" checked. This configures everything for you. Now click next:
network5.png
Do not enter anything for your hostname, just click next:
network6.png
You need a restart, this will let you get on the internet without restarting the entire computer and just the network:
network7.png
Click finish of course ;)
network8.png
The blackbox should actually contain a real IP, and have DHCP where mine shows lan. The important part is "connected" should be what you have showing.
And then in the white box below that, your IP address should again be a real IP (mine is fake) and your Protocol should say "dynamic" or "DHCP"
Ultimately, it should say "up".
If all this is working, click apply, and then OK.

Open up a browser and see if it works, if not, post back.

Cool

pearl_zildjian 07-11-2003 10:06 PM

well masterc it does exactly what it does b4.... doesn't work still :( maybe u could give me some more help? thanx

MasterC 07-11-2003 11:58 PM

What is the result of:
dhcpcd
Is there an error, or does it just put you back at a prompt? Oh, you type that into a terminal, and you do it as root ;)

Also, what do you do to get on the internet in your alternate OS? Just turn on your computer and you are on? Did you have to do anything special when setting it up initially that you remember?

And finally, can you post up the contents of your /etc/modules.conf file for us?

Thanks

Cool

pearl_zildjian 07-12-2003 01:21 AM

u guys have been a great big help, but i finally fixed the problem.... i just reinstalled :) but thanx to everyone who helped me i know a few things.... like su and the mandrake control center :) im still a huge :newbie: but one day i might be as good as some of u out there. so anyway thanx for all the help i seriously appreciate it... thanx

from,
some drummer

MasterC 07-12-2003 01:24 AM

That's always one way ;)

You are welcome anytime to post up future issues you have :) I'm personally a mandrake lover at heart, and have Mandrake 9.0 installed on my machine here, so I tend to be able to help out a bit more with those questions (although I run Gentoo and Slackware as my main distros now).

Cool


All times are GMT -5. The time now is 09:26 PM.