LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2003, 06:40 PM   #16
pearl_zildjian
LQ Newbie
 
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21

Original Poster
Rep: Reputation: 15

nothing happens when i type that
 
Old 07-08-2003, 06:53 PM   #17
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 07-08-2003, 07:21 PM   #18
pearl_zildjian
LQ Newbie
 
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21

Original Poster
Rep: Reputation: 15
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)
 
Old 07-08-2003, 07:26 PM   #19
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 07-08-2003, 08:39 PM   #20
pearl_zildjian
LQ Newbie
 
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21

Original Poster
Rep: Reputation: 15
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]#
 
Old 07-08-2003, 08:55 PM   #21
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Ummmph ... not very informative, is it? :/

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

Cheers,
Tink
 
Old 07-08-2003, 09:27 PM   #22
pearl_zildjian
LQ Newbie
 
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 07-08-2003, 09:49 PM   #23
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Blog Entries: 1

Rep: Reputation: 37
try opening it with emacs.

emacs /etc/sysconfig/network-scripts/draknet_conf

or if its executable

./etc/sysconfig/network-scripts/draknet_conf
 
Old 07-08-2003, 09:51 PM   #24
pearl_zildjian
LQ Newbie
 
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21

Original Poster
Rep: Reputation: 15
whats emacs? and if it is executable do i type ./etc/sysconfig/network-scripts/draknet_conf in a console?
 
Old 07-08-2003, 10:48 PM   #25
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 07-08-2003, 11:43 PM   #26
pearl_zildjian
LQ Newbie
 
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21

Original Poster
Rep: Reputation: 15
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]#
 
Old 07-09-2003, 01:23 AM   #27
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 07-09-2003, 11:04 AM   #28
pearl_zildjian
LQ Newbie
 
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21

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

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
/etc/sysconfig/network-scripts/drakconnect_conf lines ?-?/? (END)
 
Old 07-09-2003, 02:48 PM   #29
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 07-09-2003, 03:37 PM   #30
pearl_zildjian
LQ Newbie
 
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Very Newbie Question. Please Help imfineru Linux - Newbie 8 08-20-2005 05:09 AM
Apache newbie question.. (very newbie question) tarballed Linux - Newbie 1 02-07-2003 08:41 PM
RE: Suse 8.0 hardware question {newbie question, pls help} Radiouk Linux - Distributions 2 06-04-2002 12:53 PM
RE: Samba question pls help {Newbie question} Radiouk Linux - Networking 4 06-03-2002 06:40 PM
Security question {newbie question} Radio Linux - Security 3 05-17-2002 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration