View previous topic :: View next topic |
Author |
Message |
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Fri Sep 12, 2003 5:15 am Post subject: Almost got it...NEED HELP please |
|
|
Well I only spent 4 hours on it tonight and almost have everything working...but I still have a few problems
1) Grub
I screwed up the grub commands...how do I change them? I need to mount the boot partition right? I tried but couldnt get it...can somebody drop me some commands how to do it?
2) Ethernet & genkernel
I am using genkernel but still have no ethernet. I don't have much experience with linux so I have no idea how to track down the problem. Any help is appreciated. |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Fri Sep 12, 2003 5:23 am Post subject: |
|
|
1. boot up and mount the boot partition:
$ mkdir /mnt/boot (if it doesn't already exist)
$ mount /dev/hdX# /mnt/boot -o rw
where X# is the partition you have your boot files on, e.g. a1
You should find something like /mnt/boot/grub/grub.conf - change the grub config in there. |
|
Back to top |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Fri Sep 12, 2003 5:34 am Post subject: thanx + more info |
|
|
thanks meowsqueak. I'll give that a whirl.
As far as my ethernet problem...an ifconfig shows up with ETH0. But when I try and do a ping on anything it IMMEDIATELY returns a host not found. |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Fri Sep 12, 2003 5:40 am Post subject: |
|
|
Can you post the output of 'ifconfig' here? |
|
Back to top |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Fri Sep 12, 2003 5:52 am Post subject: ifconfig |
|
|
ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:BA:C8:B4:5F inetaddr: 192.168.0.2 Bcast: 192.168.0.255 Mask: 255.255.255.0 inet6 addr: fe80::250:baff:fec8:645f/10 Scope:Link UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1 RX packets: 8198 errors: 0 ...... TX packets: 4 ...... RX bytes: 496480 (4848 kb) TX bytes: 288 (288.0 b) Interrupt: 11 Base address: 0x50000
lo Link ......
ETH0 seems up and running but doesn't work for some reason. |
|
Back to top |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Fri Sep 12, 2003 5:58 am Post subject: hostname? |
|
|
Would the hostname or domainname that I set matter? I just put down mymachine for hostname and mydomain.com for domainname because I did not know what else to use. |
|
Back to top |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Fri Sep 12, 2003 11:33 pm Post subject: |
|
|
That shouldn't affect it, since you're trying to ping an IP address not a DNS name, aren't you?
What's the IP address of the machine you're trying to ping? Is it on the same subnet? e.g. 192.168.0.XXX ? |
|
Back to top |
|
|
MADcow l33t
Joined: 23 Jan 2003 Posts: 742 Location: RIT (Henrietta, New York, United States)
|
Posted: Fri Sep 12, 2003 11:40 pm Post subject: |
|
|
rc-update add net.eth0 default
/etc/init.d/net.eth0 start
mind you, this will bring your ethernet device up on boot, and is not advisable for all systems.
take a look at your /etc/init.d/net.eth0, you may need to give it your ip (if static) or tell it to use dhcp (if dynamic)
edit: disregard my post, as i did not see that you had obtained an ip address. |
|
Back to top |
|
|
|