|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Got Privilege?
Join Date: Jun 2001
Location: IA go Hawks
Posts: 1,257
|
Linux Mandrake 9.1 dhcp
I have linux installed finely.
I cant access the internet. Using the KDE configurator I walk through the wizard and still have no connection. It autodetects my nic correctly (linksys tx100) and is using the tulip driver. I am using a linksys router on cable set up for dhcp. Am I missing somthing? Linux for dummies or a manual that speeks laman would be nice.
__________________
P4 2.8E | 1.5GB ddr400 VR dual channel | Sony CD-R/RW | Windows XP | ATI X1950pro | Viewsonic P95F | Intel D865PERLX | WD 36g Raptor | MCHSI 3mb Cable "Computers are useless. They can only give you answers." Pablo Picasso (1881 - 1973) "Absence of proof is not proof of absence." William Cowper (1731 - 1800) Wisdom Speaks: Have in your mind that which would constitute a miracle for you. Get the vision. Suspend disbelief and skepticism. Allow yourself to take the journey toward real magic. |
|
|
|
|
|
#2 |
|
Member (11 bit)
|
I think I saw linux for dummies at barnes and noble.
|
|
|
|
|
|
#3 |
|
Member (11 bit)
Join Date: Apr 2003
Posts: 1,525
|
I'm not sure what you mean by kde configurator. Normally you would set up your network during the install. If you weren't able to do it there, you can rerun the setup in Mandrake Control Center>Network & Internet>DrakConnect. It's a little confusing because there is a KDE Control Center which is different than the Mandrake Control Center(mcc). With mcc, you get a pop up window asking for your root password; that's how you know you have the right one.
|
|
|
|
|
|
#4 |
|
Got Privilege?
Join Date: Jun 2001
Location: IA go Hawks
Posts: 1,257
|
Sorry for the confusion. Correct I am using the MCC and cannot connect to the www or even ping my router.
|
|
|
|
|
|
#5 |
|
Member (11 bit)
Join Date: Apr 2003
Posts: 1,525
|
First make sure your tulip driver is loading. Open a console and run:
$ su [enter root password] # lsmod The tulip driver should be in the list. If not post your /etc/modules.conf file. If the driver is loaded, run: $ su [enter root password] # ifconfig eth0 Post the output. It might be some problem with the router. You can check that by connecting the cable modem directly to your nic and see if you can get internet access. |
|
|
|
|
|
#6 |
|
Got Privilege?
Join Date: Jun 2001
Location: IA go Hawks
Posts: 1,257
|
Hope this helps I had a hard time getting it from Linux to windows.
Tulip was there so I ran this [root@localhost jeff]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:A0:CC:23:0E:10 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:8 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:17 Base address:0xd400 bypassing the router I can ping things but not surf OOPS, no firewall yet, I will try soon enough. I want to give Kilgore a crack at it. Last edited by fudtone; 09-16-2003 at 05:32 PM. |
|
|
|
|
|
#7 |
|
Member (9 bit)
Join Date: Jan 2000
Location: Atwater Mn. USA
Posts: 429
|
Hi,
Have you installed a firewall? Run mcc and check security settings. If you don't have a firewall installed, do it. I spent a whole week trying get my two nics to talk to each other. Found out they wouldn't till I installed the firewall. I was trying to get everything going before setting up a firewall, but iptables prevented anything from happening. HTH, OOPS!
__________________
If you think you understand what's going on. Then you haven't been paying attention. |
|
|
|
|
|
#8 |
|
Member (11 bit)
Join Date: Apr 2003
Posts: 1,525
|
Don't install that firewall just yet. It might confuse things. Dhcp doesn't seem to be working. You should be getting something like this:
[root@localhost patrick]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:50:BA:CC:A7:A2 inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:915626 errors:0 dropped:0 overruns:0 frame:0 TX packets:852654 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:1314099070 (1253.2 Mb) TX bytes:68913621 (65.7 Mb) Interrupt:11 Base address:0x5c00 It's not picking up your adress which dhcp should provide. You can check to see if the dhcp stuff is installed with: root@localhost patrick]# rpm -qa | grep dhcp dhcp-client-3.0-2pl2.5mdk dhcp-common-3.0-2pl2.5mdk You should get the same output. Note, I assume your ISP uses dhcp rather than static addressing. Please confirm. Also, post the contents of /etc/sysconfig/network-scripts/ifcfg-eth0 That's the text cofiguration file that DrakConnect modifies. It should look something like this: DEVICE=eth0 BOOTPROTO=dhcp NETMASK=255.255.255.0 ONBOOT=yes NEEDHOSTNAME=yes I'm particularly interested in whether you have BOOTPROTO=dhcp in that file. The other thing I think you should check is your security settings in mcc>Security>DrakSec. Try setting the security level to "Standard" and see if that helps. Anything greater than "High" can cause problems and is unnecessary if your not running a server. |
|
|
|
|
|
#9 |
|
Got Privilege?
Join Date: Jun 2001
Location: IA go Hawks
Posts: 1,257
|
Settings have been left on standard from install.
I did have the same output on the RPM. ISP tells me its a dynamic/static , my ip changes from time to time. this looks a bit differnt than yours. DEVICE=eth0 BOOTPROTO=dhcp NETMASK=255.255.255.0 ONBOOT=yes MII_NOT_SUPPORTED=yes NEEDHOSTNAME=yes thanks for all the help btw |
|
|
|
|
|
#10 |
|
Member (11 bit)
Join Date: Apr 2003
Posts: 1,525
|
This doesn't make a whole lotta sense at this point but I did a search on the mandrakeusers.org forums and found this:
http://www.mandrakeusers.org/viewtop...=ping+internet Simiular problem to yours except he had a realtek nic but same deal, dhcp installed, nic driver loading and he couldn't get an IP address just like you. His solution was to reinstall but type F1 at the install start up screen and type "linux noapic" at the boot prompt. That seems a little extreme to me. I assume you've probably gone through the DrakConnect setup several times by now to no avail. If you haven't tried it without the router, do so now. I also assume that DrakConnect shows eth0 to be "up" and that shows "Not Connected" to the internet. I also assume that when you hit the "Connect" button, your unable to connect. Go through the entire procedure again just to make sure. If you don't get any positive results, try this longshot. Reboot and as soon as you see the lilo boot screen, hit the Esc button; that will bring you to a boot pormpt. At the prompt, type "linux noapic" and hit the Enter key to start booting. Once you boot up, try redoing your network/internet connection and see if it works. Next, we can try the firewall trick. The firewall program is called Shorewall and it can be installed by going to mcc>Security>DrakFirewall. It's basically a frontend to a group of files called iptables. Iptables in linux are a somewhat arcane set of configuration files that allow you to set permissions on all packets going in and out of your system. I suspect that one reason OOPS had success when he installed Shorewall is that it corrected some error in the iptables which prohibited him from going out. To eliminate the possibility of an iptable problem, you can try uninstalling iptables in mcc>Software Management>Rpmdrake-remove. Just put iptables in the search field and it should find the iptables package and you can remove it. Then try reconfiguring your network connection again. If it works, then for sure it was an iptable problem. You can then reinstall the iptables and see if you can retain your internet capability. That's a lot of stuff to try; it's kind of hard to trouble shoot when your not at the box but I thought I'd give you everything that comes to mind as I won't be able to post for a few days. Good luck. |
|
|
|
|
|
#11 |
|
Got Privilege?
Join Date: Jun 2001
Location: IA go Hawks
Posts: 1,257
|
sounds all reasonable to me i will get busy.
thanx for the help your assumptions about the config is all correct. cards states up with tulip but won't connect. Last edited by fudtone; 09-16-2003 at 10:07 PM. |
|
|
|
|
|
#12 |
|
Got Privilege?
Join Date: Jun 2001
Location: IA go Hawks
Posts: 1,257
|
OMG it worked!
esc/linux noapic and WA LAA! im surfing no more config needed after that. THANK YOU! |
|
|
|
|
|
#13 |
|
Member (11 bit)
Join Date: Apr 2003
Posts: 1,525
|
Geat!!!
You don't want to go through that every time you boot so you can automate the passing of the noapic kernel option by editing your /etc/lilo.conf file. You need to be root to do so. Here's how. Open a console and su to root. Then run:# kedit /etc/lilo.conf That will open up a text editor, kedit, with lilo.conf displayed. It works just like a word processor. Look for the section with label="linux" and go down to the append line; it will probably look something like this: append="quiet devfs=mount [other junk]" Edit the line to look like this: append="quiet noapic devfs=mount [other junk]" Save your changes and close kedit. Open a console, su to root and run: # lilo -v That's necessary to write your new lilo.conf to the mbr. Reboot and see if it works. If it does, you can try shutting down and reconecting your router. I have to recycle power on my modem and router if I disconnect the router and run straight from the modem. To do so, disconnect the power cables from both the modem and the router for about five minutes and reconnect. Boot back up and see if it works OK. If not, you may have to go back into DrakConnect and redo your network set up. |
|
|
|
|
|
#14 |
|
Got Privilege?
Join Date: Jun 2001
Location: IA go Hawks
Posts: 1,257
|
thanx for the follow up. I was able to keep it booting via the Mandrakes control centers/lilo config "force noapic"
now for the sound! I need to stress on this a while before I get impaticent. thanks again |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|