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.
|
 |
06-22-2003, 01:54 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8
Rep:
|
dchp dsl/router eth0 redhat 7.0
Hi. I can't seem to figure out how to get my ethernet card set up. I'm in Redhat 7.0, I've tried netcfg - gives me error msgs. I found netconfig and tried to get into that. Couldn't figure out what I needed. I have a dual boot with Win98SE (which is what I'm in now), and I'm on a freshly formatted and installed - windows seemed to find it's way to the router and out to you allright. I'm not sure what I need for Linux.
I'm getting so sick of windows crashing after the 3rd reformat and reinstall (granted, over a few years, but still...) that I'm ready to finally figure this stuff out. (see below) ThanX
~K
|
|
|
06-22-2003, 02:25 PM
|
#2
|
LQ Newbie
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8
Original Poster
Rep:
|
Okay, basic questions...
How do I view print-outs page by page. For example, when I ls a large directory, I can only see the bottom of it, whatever is left on the screen. Also, is there a trick for this in DOS? The main reason I need this is so that I can view lspci -v to find out more about setting up my dchp/dsl, and I can only see the last two drivers.
What's the command to shutdown linux? Mmm, as I'm writing this, I'm thinking it's 'quit'. I've tried (of course) shutdown and exit. Can you tell what OS's are in my background?
When I get into gnome by startx, some of the windows (such as for the basic games) open too large for my monitor. How do I fix this?
Thank you for having a newbie forum... makes me feel better than posting this right under more complex questions.
~K
|
|
|
06-22-2003, 02:47 PM
|
#3
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
lspci -v | more (DOS dir /p as far as I recall)
shutdown -h now (immediate close)
Quote:
Can you tell what OS's are in my background?
|
Not from where I'm standing  not sure what you mean
Possibly increase the screen resolution in gnome?
|
|
|
06-22-2003, 06:12 PM
|
#4
|
LQ Newbie
Registered: Jun 2003
Posts: 5
Rep:
|
to run a command ./(name of file)
reboot shutdown -r now
get help on a prog (program name) - -help
get usage on a prog (program name) - -usage
calculator kcalc
lsmod lists the modules that are loaded
scan for new hardware kudzu (to see the hardware, just add a -p)
delete file rm (file name)
delete directory rm -rf (directory name)
Last edited by tr6_linque; 06-22-2003 at 06:13 PM.
|
|
|
06-22-2003, 08:09 PM
|
#5
|
LQ Newbie
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8
Original Poster
Rep:
|
Thank you...
Someone said something about setting my NIC to DHCP.
How might I do that? Through netconfig? In windows, all I did was set the driver for my D-Link ethernet card and it was happy to connect me. I'm going through a router, so I don't believe I need any tools or fancy programs. I believe I'm just missing something simple because I'm not used to the setup.
After searching through numerous sites, it looks like I need to make sure the correct module (is that the same as driver?) is working. When I lspic -v, I get 'Ethernet controller: D-Link system Inc: Unknown device 1300 (rev 10)'
I'll see if I can get more specific info on my settings...
ThanX
|
|
|
06-22-2003, 09:01 PM
|
#6
|
Member
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391
Rep:
|
Does your DSL router do DHCP for your network?
If so, did you try doing an "ifup eth0" from a command line? (That's a zero at the end of eth, you would increment this for multiple interfaces)
I believe this command will try to bring the NIC up as a DHCP client. (I can't find the man page for it to ensure that). But the syntax is as shown above. Try running it as root.
I am not finding "netconfig" command in RH8, I have the "redhat-config-network" command which brings up a gui interface. I haven't used 7.0 in a while, but I believe there is a similar (if not the same) gui interface. If you can find that, then edit the interface that is shown, you will be able to set the NIC to automatically obtain an IP address using DHCP.
|
|
|
06-23-2003, 02:32 AM
|
#7
|
LQ Newbie
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8
Original Poster
Rep:
|
okay, logged as root...
'ifup eth0' gives me 'Delaying eth0 initialization'
'ifdown eth0' gives me nothing, as if it worked fine.
when I run netconf from sbin...
Basic host information
host name + domain = localhost.localdomain
Adaptor 1
[x] enabled
config mode (o) Dhcp
Net device eth0
Kernel Module <nothing??>
What am I missing?
|
|
|
06-23-2003, 03:21 AM
|
#8
|
Member
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105
Rep:
|
I don't know how to set it to get a ip address. You might like to try 'dhcpcd eth0'. Then you can use 'ifconfig' to view information about your NIC like 'ipconfig /all' windows. Then you can see what IP address it has.
Your might like to try Red Hat 9. I would recommend it more for a nooby.
|
|
|
06-23-2003, 03:47 AM
|
#9
|
Member
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391
Rep:
|
Lets get the output of an "ifconfig -a" (run as root of course). This will help us see what interfaces it is recognizing.
|
|
|
06-23-2003, 07:26 AM
|
#10
|
Member
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40
Rep:
|
You might check out www.roaringpenguin.com/pppoe/. This is what I used for my DSL connection. Simple and pretty straight-forward to set up.
|
|
|
06-23-2003, 01:33 PM
|
#11
|
LQ Newbie
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8
Original Poster
Rep:
|
>> output of 'lsmod':
lockd 31176 1 (autoclean)
sunrpc 52964 1 (autoclean) [lockd]
agpgart 18600 0 (unused)
es1370 22548 0
soundcore 2596 4 [es1370]
>> output of 'ifconfig -a':
lo Link encap: Local Loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overrun:0 carrier:0
collisions:0 txqueuelen:0
>> during startup, these are the failures (nothing fails at shutdown):
Initializing USB controller (usb-ohci): /lib/modules/2.2.16-22/usb/usb-ohci.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
init_module: Device or resource busy
/lib/modules/2.2.16-22/usb/usb-ohc i.o failed
/lib/modules/2/2/16-22/usb-ohci.o: insmod usb-ohci failed
[FAILED]
Bringing up interface eth0: Delaying eth0 initialization.
[FAILED]
|
|
|
06-23-2003, 05:59 PM
|
#12
|
LQ Newbie
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8
Original Poster
Rep:
|
Is there a way to access my windows partitions through Linux? Or a way to access my Linux partitions through windows?
I can download the drivers in windows onto c:, but I can't install them from Linux.
If not, does anyone know of a good cd-burning program that is shareware and downloadable?
|
|
|
06-23-2003, 06:03 PM
|
#13
|
Member
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40
Rep:
|
create a FAT32 partition on your hard drive. both linux and windows will be able to read and write from/to it.
|
|
|
06-23-2003, 07:49 PM
|
#14
|
Member
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391
Rep:
|
In a cursory glance back through this post, I do not see where you posted details of your ethernet card. Is it a USB connected DSL modem? Posting specifics would be helpful in the future.
You may want to get a mod to move this to "Linux-Hardware" as well. It appears to be a H/W related problem.
<edit>
Is there a reason you are using RH 7.0, when there are about 5-6 revisions since then? 7.0 still installs the 2.2 kernel by default. It was capable of using the 2.4 kernel, but you have to DL and install it yourself.
Last edited by jdc2048; 06-23-2003 at 07:51 PM.
|
|
|
06-23-2003, 08:29 PM
|
#15
|
Member
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105
Rep:
|
Yes you can read your NTFS and FAT32 partitions in linux. See the mount command for more details. NTFS partitions cannot be written to from linux and sometimes you need to install a small kernel module to enable NTFS read support. Only use it with 2.4 Kernels but. You might as well start with redhat 9.
You can read your Linux EXT2/3 Paritions in windows with a small program called explore2FS. You can find it at sourceforge.net
|
|
|
All times are GMT -5. The time now is 11:40 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
|
|