LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2003, 08:56 PM   #1
gluc0se
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Rep: Reputation: 0
Can't get cable working with MDK Linux :(


MDK seems to detect my hardware fine, but after trying so many different things with the MDK Configuration tool, I still can't get a go. I also tried DHCP 2.0, no luck.

Any suggestions from someone who has done this before?
 
Old 11-25-2003, 08:57 PM   #2
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
I don't know MDK. What kind of output are you getting from # ifconfig -a ?
 
Old 11-26-2003, 02:13 PM   #3
gluc0se
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
eth0 Link encap: Ethernet HWaddr 00:30:18:57:00:C0
UP BRODCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets: 458176 errors:0 dropped:0 overruns:0 frame:0
TX packets:445 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:28520215 (27.1 Mb) TX bytes:75690 (73.9 Kb)


eth0:9 Link encap: Ethernet HWaddr 00:30:18:57:00:C0
inet addr:127.255.255.255 Bcast:127.255.255.255 Mask: 255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0xe400

lo Link encap: Local Loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets 2459 errors:0 dropped:0 overruns:0 frame:0
TX packets 2459 errors:0 dropped:0 overruns:0 carrier:0
collisons:0 txqueuelen:0
RX bytes:160354 (156.5kb) TX bytes:160354 (154.5kb)


Hopefully that will help because it was a DAMN log type.
 
Old 11-26-2003, 03:30 PM   #4
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
You have multicast support enabled? Why? Is this a multicast app you're running? If not, I would venture that that's your problem.

Also, tell us what kind of configuration you want to run. Is this going to be the only PC on a cable modem, or do you have a LAN with other machines that you want to connect to?

Thanks,

Dave
 
Old 11-26-2003, 04:20 PM   #5
gluc0se
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
I never told multicast to go on, it just is. lol.

My setup is

Cable modem --> Hub ( I repeat, HUB, no router) --[Windows XP, MDK Linux
 
Old 11-26-2003, 04:24 PM   #6
gluc0se
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Oh, sorry..double post..but how do I turn off multicast?
 
Old 11-26-2003, 06:30 PM   #7
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
Originally posted by gluc0se
My setup is

Cable modem --> Hub ( I repeat, HUB, no router) --[Windows XP, MDK Linux
With this type of setup, you can only have one computer turned ON.
If both computers are turned ON, only one computer will get an IP.
 
Old 11-26-2003, 07:05 PM   #8
gluc0se
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Are you sure? I've had my XBox going through the Hub with my computer on, that worked fine.
 
Old 11-27-2003, 12:19 AM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Some cable internet providers lets you have two computers accessing the internet at a time. To have more than two computers accessing the internet you will have to pay for more IP addresses or use NAT. Since you don't have a router, you can setup Mandrake to share the internet connection. Then connect the hub to the second NIC and hook your Windows computer to the hub. This way you can connect multiple computers to the internet with out payiing for additional IP addresses to access the internet.

Cable has great advantage over xDSL. You can do load balancing to increase your throughput to get a little faster than T1 lines. You need another NIC, a hub, and time to tweak it. Though it will not decrease latency because latency is dependent on how many routes, how many loss packets, etc.
 
Old 11-27-2003, 09:39 AM   #10
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Quote:
Originally posted by Electro
Cable has great advantage over xDSL. You can do load balancing to increase your throughput to get a little faster than T1 lines. You need another NIC, a hub, and time to tweak it. Though it will not decrease latency because latency is dependent on how many routes, how many loss packets, etc.
Sorry, with 128Kb/s upload (maybe 256Kb/s at best) your cable modem will always be a joke compared to a real T1. 1.544Mb/s up 1.544Mb/s down.

As to the Mandrake problem, I would try an "ifconfig eth0 down" then an "ifconfig eth0 up" to see if it'll capture a new IP address ---or the DHCP address it needs from your cable modem. I'm not sure how you explicitly turn off multicast support in Linux. I'm pretty new to Linux networking. If you're using Mandrake though, I imagine there's a gui network tool you can use to configure the card.
 
Old 11-27-2003, 10:19 AM   #11
gluc0se
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Ok, well..few things.

First of all, I'm posting this from my Linux machine, aka I got the internet up.

First i tried unplugging the cable and hooking it to my DSL line, still no go. I wasn't sure how turning off the other computer (or taking it out of the hub) would help, but I figured I would try anyway. So I unplugged my XP computer, and bam, connected through MDK. Cool beans.

A few other things, my cable actually uploads at abt 900kbps...OptOnline *claims* 10mbps down 1mbps up, and comes damn close. Unfortunetly, they also block port 80, so I am throwing another CAT5 wire into this room, and I will connect the DSL (1.5/768) onto the server, and the cable will go to the computer.

If I connected the cable to a router, could I route it to all the computers in the house? The OptOnline people said I could, but they are so unknowledgable.


Anyway, that's my situation, whadda you think?

Thanks for ALL your help guys, I really appreciate it!
 
Old 11-27-2003, 07:18 PM   #12
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
You can use just about any cable/dsl router that's available. This will give you NAT, DHCP, some limited port forwarding and some other options. Just get one with 4 or more ports. Or get a single-port jobbie and use your hub to network all the PCs.

You could also use an older PC with 2 NICs and dedicate it to being a firewall/gateway for your home network. This will give you a more powerful firewall than those consumer-grade cable/DSL routers.

Congrats on getting such a good speed out of your cable modem. I wish I could get a consumer-grade solution with speed like that. I have to pay 69.+ /mo. for 1.5/768. But then again, it's with Speakeasy which is a pretty geek friendly ISP with static IPs and all that crap.
 
Old 11-27-2003, 07:51 PM   #13
gluc0se
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Ya, I planned on getting Business Cable, but even on that OptOnline blocks port 80 and its just a huge hassle. Overall OptOnline = bad. But for someone who needs no customer support, and just fast DL, it's good.

How do you setup a computer to be a firewall?
 
Old 11-27-2003, 08:08 PM   #14
taylortbb
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandrake
Posts: 21

Rep: Reputation: 15
What OS are oyu going to use for the router? I can take you through it on Windows easily but I'm still a newbie at Linux.

I also however have gotten (measured, not theoretical) speeds of 5 megs per second over my cable. Its just standard residential cable that I pay $40 Canadian a month for.

Canada, the land of cheap high-speed internet, you can get high speed internet on an ice flow for less than $50 a month
 
Old 11-28-2003, 12:22 PM   #15
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Quote:
Originally posted by gluc0se
How do you setup a computer to be a firewall?
It's a big question you ask, one that deserves some research on your part. However, my opinion is that for Open Source, the best solution is to use OpenBSD with PF on an old PC with at least 2 NICs (PF: "packet filter"... a part of a standard OpenBSD release). The reason I think it's the best is because OpenBSD is arguably the most secure Open Source OS (even more arguably the most secure OS period). I think PF is not that hard to learn, and there are lots of good resources now for learning how to set it up (2 books, Absolute OpenBSD and another book by an OpenBSD developer exclusively dedicated to PF). Also, the documentation in OpenBSD is probably some of the best. And I find that it runs great on old x86 architecture. My firewall is an old AMD k6 266 and it smokes. In fact it's under-utilized. My set up is a machine with 3 NICs. NIC-a goes to my DSL, NIC-b goes to my DMZ where I host web, dns, mail, etc. and NIC-c goes to my NAT'ed LAN where my workstations are. My LAN is separate from my DMZ which is exposed to the Internet.

That's not to say OpenBSD is easy to work with for newer users. And the community is not as tolerant of people who don't do their homework...to speak euphemistically. It's not uncommon to see n00bs ignored or flamed. But their philosophy is that they take the time to provide stellar documentation, the end-user should take the time to read it. Take heart though, if a n00b like me can set it up and run it, just about anyone can.

There are lots of other solutions out there for a home firewall/gateway on just about any OS...all potentially as powerful.
 
  


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
Cant access linux filesystem ext3 after upgrading from mdk 9.1 to mdk 10 drewineal Linux - Newbie 1 02-27-2005 03:45 PM
Cable internet not working atjindrawan Slackware 4 09-27-2004 01:29 AM
Cable connection not working mittrekkie Linux - Networking 2 08-08-2004 09:40 AM
AOL's USB cable modem not working with red hat linux webdjoe Linux - Hardware 9 07-25-2004 03:17 PM
Problems with MDK 9 and Cable -=SnakeyeS=- Linux - Networking 4 06-28-2003 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:47 AM.

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