LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Newbie Ubuntu Problems (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-ubuntu-problems-298085/)

mario8723 03-05-2005 05:08 PM

Newbie Ubuntu Problems
 
I just installed Hoary Array 6 last night and it went great for the most part.
I installed the O/S on a 120GB drive that also has Windows XP Professional.
Installed Hoary to a different partition (60GB). During installation, however, GRUB wouldn't install. So, I installed LILO to the MBR.

Upon reboot, though, I am not given a dual-boot option. I.E. I can't get into Windows on my C: partition. That's my first problem.

Problem #2. I was online in the Ubuntu O/S last night. Was able to browse, get email etc with no problem. I downloaded and installed shorewall via the Synaptic Manager. Still had no problems. Shut down the computer last night, turned it on this morning and now I'm not getting an IP address and am unable to connect. Uninstalled shorewall, rebooted-same problem.

SO...my questions are:
1)How can I enable the dual-boot option?
2)How can I re-enable DHCP? I checked the Network Settings and my eth1 Linksys card is configured for DHCP. Apparently, though, it's not going through the DORA process to actually acquire an IP address from my ISP (for whom I happen to work and have confirmed that I don't currently have an IP address assigned)

Any help in this matter would be greatly appreciated. From what I saw last night, I am going to be very happy with this great O/S- if I can get these two problems fixed....

comprookie2000 03-05-2005 06:26 PM

For #1 add this to /etc/lilo.conf
Code:

other=/dev/hda1
label=Win
table=/dev/hda

Thats for windows on the first partition and be sure to run lilo from root.
Now for #2 Shorewall may have set-up iptables.Not sure where the script is for debian or Ubuntu
but it won't be hard to fix.
You should be able to flush any rules with
# iptables -F
# iptables -t nat -F
then you can try dhcp with
dhcpcd eth1

mario8723 03-05-2005 08:08 PM

Quote:

and be sure to run lilo from root
How do I do this? As far as I know (complete noob here, lol) LILO runs automatically upon boot


Quote:

Shorewall may have set-up iptables.Not sure where the script is for debian or Ubuntu
Any idea how to find it? I.E. can I run a command from a terminal like iptables?

Quote:

# iptables -F
Quote:

# iptables -t nat -F
Am I correct in assuming that the "#" means I'm typing those commands into the terminal?

Thanks SO much for your help....!

comprookie2000 03-05-2005 08:31 PM

Whenever you edit /etc/lilo.conf you have to run from the terminal;
Code:

su
<your password>
lilo
or
/sbin/lilo

for the changes to take,also it will sometimes show
if you have a syntax error
And # does mean as root user,good luck


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