LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-20-2006, 07:22 PM   #1
vladin
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
Smile Dont hurt me. Yes Im a noob


I've started down another path, Linux(debian)land which Im really starting to like. I've been using MS for a long, long time. Anyway over the years I've put my toe into linux only to pull it out with fright. Anyway Im working IT with a company thats totally MS. We are looking for other ways to achieve networking/security goals. Love Snort / Acidlab / Winmin. So here is my question..

While Im making my transistion I still need MS here and there at home. I have Windows 2000 server setup for ICS(my linksys WRT54G router sucks). I have a debian laptop which I've just setup. I get DHCP with no problem. I can ping everying outside. I can also get(firefox) google.com and can search. But thats it. I can't go to any other websites. none. I also can't use apt-get for anything. apt-cache search works fine. but thats it.

If there anyway to make MS-ICS work with Debian?
 
Old 04-20-2006, 07:31 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I'd say to use your WRT54G (which I think is awesome!). I've got one and love it, if you couldn't tell. But I replaced the firmware with Sveasoft Alchemy firmware (make sure you have a WRT54G version that will run the firmware before you load it though!). You can do amazing things like static dhcp, increase the WAN power by 10x, and use fwbuilder on your debian box to make a kick ass firewall for the router. Besides that, WRT54G runs linux, which is why all this other firmware was released. You can ssh into it and adjust settings as required. Basically it turns a crappy $50 router into something capable of much more expensive routers. There are other firmwares out there because Sveasoft has turned into a bunch jerks. Go to http://www.wrt54g.net/ to get the firmware and other information. Also check out wikipedia's article

Seriously, I'd ditch using MS-ICS...
 
Old 04-20-2006, 07:31 PM   #3
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
It might be DNS-related. What's in /etc/resolv.conf, once DHCP is up?

This probably isn't it, since you can get to Google, but it's worth a try.
 
Old 04-20-2006, 07:38 PM   #4
vladin
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ataraxia
It might be DNS-related. What's in /etc/resolv.conf, once DHCP is up?

This probably isn't it, since you can get to Google, but it's worth a try.

search myfakedomain
nameserver 192.168.0.1
 
Old 04-20-2006, 07:41 PM   #5
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by vladin
search myfakedomain
nameserver 192.168.0.1
Looks suspicious. What's at 192.168.0.1, and is it running DNS?
 
Old 04-20-2006, 07:43 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
In windows ICS, windows is 192.168.0.1 on the virtual lan it is using for sharing. The linux box is probably 192.168.0.2 or the like. Windows then gets it's actual address from the modem/router.
 
Old 04-20-2006, 07:49 PM   #7
vladin
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez
In windows ICS, windows is 192.168.0.1 on the virtual lan it is using for sharing. The linux box is probably 192.168.0.2 or the like. Windows then gets it's actual address from the modem/router.
Yeah, ICS sets up DHCP one the second NIC giving it 192.168.0.1. That gives me an idea. What if I use the real DNS on my ISP?
 
Old 04-20-2006, 07:51 PM   #8
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
That should work as long as your gateway is setup to the Windows box.

[salespitch]As I posted above though, I'd still recommend getting your linksys working. You can turn off the radio if you don't need the wireless access (and you should for security reasons if you don't ever use it). I'm telling you, it's a pretty nice little box...[/salespitch]
 
Old 04-20-2006, 07:54 PM   #9
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by vladin
Yeah, ICS sets up DHCP one the second NIC giving it 192.168.0.1. That gives me an idea. What if I use the real DNS on my ISP?
You should be able to do this. Edit /etc/dhclient.conf and uncomment the line that starts with "prepend domain-name-servers". Change the rest of the line to match your ISP's DNS. Doing this will make DHCP set this up for you, instead of overwriting it each time.

In order to make it take effect, you need to stop and restart the network:
Code:
ifdown eth0
ifup eth0
 
Old 04-20-2006, 07:56 PM   #10
vladin
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez
That should work as long as your gateway is setup to the Windows box.

[salespitch]As I posted above though, I'd still recommend getting your linksys working. You can turn off the radio if you don't need the wireless access (and you should for security reasons if you don't ever use it). I'm telling you, it's a pretty nice little box...[/salespitch]
Sorry I did want to mention that I did use Sveasoft Alchemy and DD-WRT on my linksys. But while using Bittorrent(legal downloads) it would kill my network.
 
Old 04-20-2006, 08:01 PM   #11
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
http://p2p.weblogsinc.com/2005/04/24...ent-downloads/

There's a guide to setting up fast bittorent. And if I remember correctly (haven't use BT in a while), you can setup multiple ranges (one for each machine hardwired to the network) and configure the ports used by BT on each machine.
 
Old 04-20-2006, 08:13 PM   #12
vladin
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ataraxia
You should be able to do this. Edit /etc/dhclient.conf and uncomment the line that starts with "prepend domain-name-servers". Change the rest of the line to match your ISP's DNS. Doing this will make DHCP set this up for you, instead of overwriting it each time.

In order to make it take effect, you need to stop and restart the network:
Code:
ifdown eth0
ifup eth0

Thanks a lot for the effort but that didnt seem to do the trick. I just dont understand. I mean I can even get gmail.google.com to load really fast. Everything else takes a dump. I can even ping my fav site and resolve its address. But still cant pull it up. Oh yeah I can even FTP just fine. At this point I might just switch back to my linksys but now I want to know why.

I also just found out that I can pull up my old website thats hosted on a debian box. but thats it. I really think its not a debian problem but a ms problem.
 
Old 04-20-2006, 08:18 PM   #13
ataraxia
Member
 
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Quote:
Originally Posted by vladin
I also just found out that I can pull up my old website thats hosted on a debian box. but thats it. I really think its not a debian problem but a ms problem.
I agree - and I don't know the answer
 
Old 04-20-2006, 08:33 PM   #14
vladin
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ataraxia
I agree - and I don't know the answer
You know. It's times like these that I would have give debian the old boot. Like so many times in the past. But I'm really liking linux the more and more I use it(as with my company)Now Im thinking its time to give MS the boot. I just hate walking away from a problem I cant fix or find an answer to. If anyone else has something to add I'll be checking back. Till then Thanks for all your help. I might just have to give the old linksys another try.
 
Old 04-20-2006, 08:37 PM   #15
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
If you give the linksys a try, attempt the link above about enabling the port forwarding. Maybe it'll work for you... Sorry I couldn't be more help.
 
  


Reply



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
A trick to prevent your XP from being Hurt TigerLinux Linux - Newbie 3 10-05-2005 11:08 PM
Live Distro. Could it hurt computer? bvsciguy Ubuntu 2 07-12-2005 05:23 AM
Windows crashed....7 storeys down. No one hurt akudewan General 3 05-03-2005 06:19 PM
changing screen resolution help my eyes hurt DR_K13 Linux - Software 3 06-26-2004 06:50 PM
Hurt F33L|NG5 133TStinka General 2 08-01-2002 02:03 PM

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

All times are GMT -5. The time now is 08:01 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