LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 07-21-2004, 05:02 PM   #1
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Rep: Reputation: 15
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
 
Old 07-21-2004, 05:32 PM   #2
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
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????
 
Old 07-21-2004, 05:51 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
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.
 
Old 07-21-2004, 06:00 PM   #4
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
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
 
Old 07-21-2004, 06:28 PM   #5
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
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)
 
Old 07-21-2004, 06:36 PM   #6
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
How do I switch my connection to Static on the Windows XP?

And, Should I reboot the modem/router once I switch?
 
Old 07-21-2004, 07:05 PM   #7
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
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.
 
Old 07-21-2004, 07:27 PM   #8
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
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).
 
Old 07-21-2004, 07:33 PM   #9
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
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?..
 
Old 07-21-2004, 08:12 PM   #10
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
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
 
Old 07-21-2004, 08:13 PM   #11
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
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.
 
Old 07-21-2004, 08:20 PM   #12
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
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?
 
Old 07-21-2004, 08:37 PM   #13
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
"What is the output of lsmod? Is the module for your network card loaded?"

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


here, How exactly would I find this information out?
 
Old 07-21-2004, 08:44 PM   #14
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Open a terminal window. Log in as root - "su". Type your root password. Type "lsmod". Copy the output. Paste it here. Can you do the same for "lspci" while you're at it (just whatever looks like your ethernet card, actually). I await...
 
Old 07-21-2004, 09:22 PM   #15
zarathaz
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba WinXP - Mandrake Linux - Random Disconnect NinjaBaby Linux - Networking 0 04-19-2005 10:53 PM
Mandrake + Shuttle == random lockups? marsu_k Mandriva 5 10-08-2004 10:15 AM
mandrake 10 install hangs at random michaeltweak Mandriva 3 08-14-2004 02:12 PM
Random freeze, upgrade to Mandrake 10.0 nducoin Linux - Hardware 3 04-19-2004 11:27 AM
random lock ups in mandrake 9.2 subsys Mandriva 5 02-25-2004 10:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration