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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-08-2003, 06:40 PM
|
#16
|
LQ Newbie
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21
Original Poster
Rep:
|
nothing happens when i type that
|
|
|
07-08-2003, 06:53 PM
|
#17
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
07-08-2003, 07:21 PM
|
#18
|
LQ Newbie
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21
Original Poster
Rep:
|
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)
|
|
|
07-08-2003, 07:26 PM
|
#19
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
07-08-2003, 08:39 PM
|
#20
|
LQ Newbie
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21
Original Poster
Rep:
|
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]#
|
|
|
07-08-2003, 08:55 PM
|
#21
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Ummmph ... not very informative, is it? :/
K, next attempt: can you post the contents of
/etc/sysconfig/network-scripts/draknet_conf
please?
Cheers,
Tink
|
|
|
07-08-2003, 09:27 PM
|
#22
|
LQ Newbie
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21
Original Poster
Rep:
|
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
|
|
|
07-08-2003, 09:49 PM
|
#23
|
Member
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Rep:
|
try opening it with emacs.
emacs /etc/sysconfig/network-scripts/draknet_conf
or if its executable
./etc/sysconfig/network-scripts/draknet_conf
|
|
|
07-08-2003, 09:51 PM
|
#24
|
LQ Newbie
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21
Original Poster
Rep:
|
whats emacs? and if it is executable do i type ./etc/sysconfig/network-scripts/draknet_conf in a console?
|
|
|
07-08-2003, 10:48 PM
|
#25
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
07-08-2003, 11:43 PM
|
#26
|
LQ Newbie
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21
Original Poster
Rep:
|
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]#
|
|
|
07-09-2003, 01:23 AM
|
#27
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
07-09-2003, 11:04 AM
|
#28
|
LQ Newbie
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21
Original Poster
Rep:
|
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)
|
|
|
07-09-2003, 02:48 PM
|
#29
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
07-09-2003, 03:37 PM
|
#30
|
LQ Newbie
Registered: Jul 2003
Location: california
Distribution: Mandrake 9.1
Posts: 21
Original Poster
Rep:
|
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 
|
|
|
All times are GMT -5. The time now is 11:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|