LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Mandrake Linux Is Random (https://www.linuxquestions.org/questions/mandriva-30/mandrake-linux-is-random-208016/)

zarathaz 07-21-2004 05:02 PM

Mandrake Linux Is Random
 
Mandrake Linux is acting completely random with my internet connection. Atleast Windows in consistent most of the time. When I turn my computer on, I notice my internet connection is as slow as a turtle, Sometimes I don't have internet at all and I look at my /etc/resolv.conf~ file ( Which says:

search Comast.net
nameserver
nameserver

The name servers have numbers after them( usually )

However, my /etc/resolv.conf file has the following in it

search homeland.net

When I copy paste what's in my /etc/resolv.conf~ in it, I can "usually" ( Mandrake Linux is random ) get a internet connection. It's extremely slow, but google still loads after thirty seconds. So I looked this up, and found out I need to add

alias net-pf-10 off

to my /etc/modprobe.conf file, So I did, I reboot, and my /etc/resolv.conf~ file is back to homeland.net, So I change it, but the internet doesn't take affect, so I reboot, and sure enough it's homeland.net again, So I change it to comcast, and the internet works this time, and it's about 60% faster, So I'm thinking cool, I got it.

NOT

I go get a coke and come back and see that my connection is GONE again, so I reboot, and homeland.net does it's usual, I change it to Comcast but this time it doesn't get any better, The internet is still slow

No one has answered my questions previously, So I doubt it will happen this time. What do I need to do to keep /etc/resolv.conf from changing back and screwing me over constantly?!

And, Is adding alias net-pf-10 off to /etc/module.conf do anything?

I'm using Gnome, Mandrake 10 Community, Comcast is the ISP, Cable modem.

I'll give you my right leg if you can fix my problem :cry:

zarathaz 07-21-2004 05:32 PM

DHCPD Is Failing
Eth0 Is Failing

I'm also geting a
"Validating Rules file"
"Error, Undefined client zone in rule "redirect masq 3128 tcp www-"

Heh? Everything but internet is working fine.. Is this stuff failing doing anything????

jschiwal 07-21-2004 05:51 PM

The resolve.conf is written by the DHCP client when the network service is started. There are 3 different clients that you could be using. You may want to re-run the Network setup wizards and the Firewall wizard. One of them has an option on which DHCP client you want to use.

zarathaz 07-21-2004 06:00 PM

Okay, I'll re do my connections... Do I need to enable "Internet Connection Sharing" ? I just have a Windows XP ( geting internet fine ) Mandrake Linux.. linked by a router

vectordrake 07-21-2004 06:28 PM

If you connect through a router, you don't need to do ICS with either computer. The router should be doing that for you. Mine does. If you want to, you can simply set the computers up to connect with DHCP and they should get online. AFAIK, Comcast is the same as any other cable ISP and simply gives you an IP when you turn on your computer. Thus, you should be technically connected to the net when you fire up your router. If DHCP is giving you trouble, why don't you also try static IPs for the two computers. That's what I have done, for other reasons, but it works well. ( I use cable too - Rogers)

zarathaz 07-21-2004 06:36 PM

How do I switch my connection to Static on the Windows XP?

And, Should I reboot the modem/router once I switch?

zarathaz 07-21-2004 07:05 PM

Actually..heres a new and more important question..

When I go to "Manage Connections" My Netmask is set to "No Mask" And my Gateway is empty too.. My netmask should be 255.255.255.0 (Right?) and I'm not sure what the gateway is.

Using DHCP.

vectordrake 07-21-2004 07:27 PM

Gateway is the IP of the router. My Linksys was set to 192.168.1.1. Many are also set to 192.168.0.1. The XP box, you just change in the TCP/IP section of the net connection properties from "obtain an IP address automatically" to "use this address" and fill in one from the same IP range as your router uses. So, 192.168.x.x matches itself. 10.x.x.x, 172.x.x.x. Thes would be the "private" ranges you'd be exposed to. So, if your router is 192.168.0.1, you'd fill that in as the gateway. Pick an IP in that range for each of the boxes. Say 192.168.0.15 for one and 192.168.0.20 for the other. Netmask for 192.168.x.x and 10.x.x.x is 255.255.255.0 (dunno about the third one - I never have used it - most puters I have hooked up is 3 at a time - don't need 750+ IP's)

OR

If you're going to use DHCP, you don't need to fill in a netmask. DHCP will seek out the IP and netmask together from your router, same as its doing to get your "real" IP from Comcast. Just fill in the IP of the router as the gateway (and it may be required to put in as DNS, but not likely).

zarathaz 07-21-2004 07:33 PM

Thanks, I think i'm going to do a new fresh install of Mandrake Linux just to start over ( When the box comes up that asks what I want to install i.e Game Station, LSB, KDE ect ) Do I need to check the Firewall/router box?

Also, when you set up your connection was the internet slow? And if so, did you change the module and the modprobe files or just one or the other?..

zarathaz 07-21-2004 08:12 PM

Okay.. So I reinstalled Mandrake, Set up a LAN connection, DHCP, But in my "Manage Connections" The Netmask and the IP address are both marked "No IP" and "No Mask"

I looked in my files for anything that might be different, and I found

#ppp temp entry

In my /etc/resolv.conf

Any ideas? No internet connection at all now

vectordrake 07-21-2004 08:13 PM

You don't need to check the firewall if you don't want to. It can be done if you feel like it, but you've got the router and its a good firewall in its own right. If you use a fairly good root password and run as a user unless necessary, you'll likely be fine. But you can install the firewall if you feel like it.

BTW, if you want more choice in what's not installed, you may want to check off that little box on the bottom to select individual packages, you can go through the list that the big "category" chose for you and eliminate what you know you don't want installed. Just a thought.

My Linksys ethernet card wasn't slow, but I have had a few glitches when the 2.6 kernel first came out. That's overwith now, though.

vectordrake 07-21-2004 08:20 PM

timing is everyithing....
 
Looks like we were writing at the same time...

What is the output of lsmod? Is the module for your network card loaded?

zarathaz 07-21-2004 08:37 PM

"What is the output of lsmod? Is the module for your network card loaded?"

Erm, I'm really sorry, i'm a real
:newbie:

here, How exactly would I find this information out?

vectordrake 07-21-2004 08:44 PM

Open a terminal window. Log in as root - "su". Type your root password. Type "lsmod". Copy the output. Paste it here. :D Can you do the same for "lspci" while you're at it (just whatever looks like your ethernet card, actually). I await...

zarathaz 07-21-2004 09:22 PM

Module Size Used by
nls_iso8859-1 3904 1
nls_cp850 4736 1
vfat 13760 1
fat 45120 1 vfat
sd_mod 16800 0
md5 3872 1
ipv6 232352 6
sg 38044 0
sr_mod 17060 0
cs4281 51808 1
soundcore 9248 2 cs4281
af_packet 20520 0
hid 53312 0
ide-floppy 18752 0
ide-tape 34864 0
ide-cd 40548 0
cdrom 37184 2 sr_mod,ide-cd
floppy 59444 1
ipt_TOS 2240 12
ipt_REJECT 6464 4
ipt_LOG 5312 6
ipt_state 1728 12
ipt_multiport 1856 0
ipt_conntrack 2304 0
iptable_filter 2624 1
iptable_mangle 2624 1
iptable_nat 23116 0
ip_conntrack 31152 3 ipt_state,ipt_conntrack,iptable_nat
ip_tables 16704 9 ipt_TOS,ipt_REJECT,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_filter,iptable_mangle,iptab le_nat
tulip 45248 0
supermount 37876 1
intel-agp 17372 1
agpgart 31016 1 intel-agp
ppa 12296 0
parport_pc 32832 0
imm 12360 0
scsi_mod 114744 5 sd_mod,sg,sr_mod,ppa,imm
parport 38952 3 ppa,parport_pc,imm
uhci-hcd 29104 0
usbcore 99132 4 hid,uhci-hcd
rtc 11576 0
ext3 110376 2
jbd 54328 1 ext3


There is lsmod... Ispci wasn't recognized as a command, Sorry for long respond, had trouble finding a darn floppy disk


All times are GMT -5. The time now is 04:21 PM.