+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 27
Wireless Networks Thread, Censornet newbie, please help in Technical; Hi there guys - new kid on the block I am wanting to set up a Censornet box for a ...
  1. #1

    Join Date
    May 2007
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Censornet newbie, please help

    Hi there guys - new kid on the block

    I am wanting to set up a Censornet box for a housing development that will take place in the near future. So, to be proactive I thought that I would set up a network at home first to get the whole thing working and therefore iron out any problems. I am have problems. I can't seem to get this working. This is my setup.

    ADSL router is a Netgear DG834GT with 10.0.0.1 as LAN IP
    My Censornet box is an AMD 1.7 with 512gb RAM - plenty I think.
    I have two 10/100/1000 LAN cards installed.
    I have a 8 port hub for my internal network.
    My public IP on the censornet box is 10.0.0.2 (subnet 255.0.0.0)
    IP on the local LAN is 192.168.0.254 (subnet 255.255.255.0)

    My config is this:

    A straight cable from my ADSL router to my public LAN card.
    A straight cable from my private LAN card to my hub.
    A straight cable from my hub to a local PC.
    The local PC has an IP of 192.168.0.3 (static)

    The censornet box is setup with pretty much default settings. DHCP is off. It is in firewall (non bridged) mode. DNS is my ISP DNS address (same as on my router)

    What must my gateway address be in the DNS settings?
    I can't ping any address from my local PC or from the Censornet box.
    I can't access the web admin from my local LAN.
    From Censornet box, I can't ping my router (10.0.0.1)
    I have tested my cables and they are fine.

    I read in the manual that the cable from the router to the public card should be a twisted cable. SHouldn't routers be able to auto-switch between straight and twisted cables?
    That been said, I still can't ping on the local LAN. (between the local PC and the privated card)
    I also have a wireless card on my local PC which I have disabled.

    Any ideas that I could try.

    Thanks
    Gareth

  2. #2
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,996
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106

    Re: Censornet newbie, please help

    Are you sure your cards have been detected properly by the CN setup? type setup from the command prompt and check.

  3. #3

    Join Date
    May 2007
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Censornet newbie, please help

    Hi there Chris

    Thanks for the reply.

    As far as I can see they are setup. If I go to install network cards, it says that two cards are already installed. I can also see the ip address allocated to the cards.

    Cheers
    Gareth

  4. #4
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,996
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106

    Re: Censornet newbie, please help

    Make sure you have the cables the right way round try swapping them from the PC.

  5. #5

    Join Date
    May 2007
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Censornet newbie, please help

    Hi Chris

    I have tried that.

    Which card should be ETH 0 and ETH 1. I think that the card closest to the power supply is the private card - or am I wrong.

    I have also set up my proxy on the LAN pc to point to the CN box on 192.168.0.254 port 8080. I also added that Ip range to the exceptions list.

    I am at my wits end. I have read excellent reviews about this product and I am desperate to get it to work.

    EDIT: What is the default gateway address that I must use under DNS & Gateway settings. The DNS I got from my ISP, but I don't know what gateway I must use.

    Cheers
    Gareth

  6. #6
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,996
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106

    Re: Censornet newbie, please help

    Gateway for the CN should be the ADSL router. PCs gateway should be the CN. DNS for the CN should be your ISPs.
    Type ifconfig from the command prompt then unplug a cable, then ifconfig again to see which one is unplugged.

  7. #7

    Join Date
    May 2007
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Censornet newbie, please help

    Thanks

    According to the manual, if I use more ADSL router for NAT, then I both the local and public IP's can be on the same range.
    I would then disable NAT on CN.
    ie Public on 192.168.0.2, private on 192.168.0.3 and router LAN address of 192.168.0.1.

    Once again, the manual says that I should use a twisted (cross-over) cable to connect my ADSL router to the public card. Don't these router auto sense. I don't have a twisted cable, so can I connect ADSL router to hub and hub to the public card with straight cables?

    All the local PC's will be on the same range.

    Sorry for all the questions, but I know that one little thing can cause this not to work.

  8. #8


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,458
    Thank Post
    866
    Thanked 845 Times in 667 Posts
    Rep Power
    195

    Re: Censornet newbie, please help

    Yes, most routers will auto-detect.

    Gateway on your CN box should be your router's address. 10.0.0.1.
    Get the censornet box pinging this. That's stage 1. Once you manage that, we can move on to stage 2

    Try rebooting the router AND the hub - ARP caching can funk things up to a quite nasty degree.

  9. #9

    Join Date
    May 2007
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Censornet newbie, please help

    HI Tom

    Thanks for the reply

    I am going to reinstall CN from scratch and start over as well as reboot the router and hub.

    Will keep you posted.

    Gareth

  10. #10

    Join Date
    May 2007
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Censornet newbie, please help

    OK, an update

    I restarted my hub and router, and reinstalled CN

    Router IP = 10.0.0.1
    Public IP = 10.0.0.2
    Private IP = 192.168.0.254

    I can successfully ping the router, but from about 35 packets, it stops. If I leave the PC, I get a "ETH 1 no RX buffer allocated"

    What the heck does that mean?

    I reboot CN, ping again and about 35 pings/packets, it bombs again with the same message.

    I am using CNET cards with an RTL 8169 chipset. They are both brand new an appear to install correctly at setup.

    Any further ideas?

    Thanks
    Gareth

  11. #11

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180

    Re: Censornet newbie, please help

    It may be worth considering the purchase of a ADSL-modem that passes your 'real' IP address to the external card of the Censornet box... this certainly helps in the long run!

    I have an X-Modem M3 (see http://www.adslnation.com/products/xmodem-m3.php ) - this is a really good piece of kit (if a little expensive). It also solved problems with my line dropping out and helped me squeeze a few kbps more out of the line - this helps a lot when all you can get is 512kbps

  12. #12

    Join Date
    Feb 2006
    Location
    Derbyshire
    Posts
    1,381
    Thank Post
    181
    Thanked 211 Times in 171 Posts
    Rep Power
    65

    Re: Censornet newbie, please help

    Both my CN installs happily run with a cheap as chips Linksys router which only gives a NAT'd IP to the external card so that shouldn't be causing you problems...

    I'd personally ditch the gigabit cards and go back to a tried and tested chipset like the Realtek 8139 or old DLinks for testing... I'm assuming that the gigabit cards are considerably newer than CN 3.3 so may not have the most up to date/stable driver.

    If you're determined to keep the current cards. Try running 'lspci' and 'lsmod' from the shell and seeing what they're listed as vs what module it's loading for them.

    Example output:

    admin@webcache:/usr/local/squid/etc$ lspci
    ... <snip lots of non ethernet things> ...
    0000:00:09.0 Ethernet controller: VIA Technologies, Inc. VT86C100A [Rhine] (rev 06)
    0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

    0000:01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)

    admin@webcache:/usr/local/squid/etc$ lsmod
    Module Size Used by
    ds 19328 0
    yenta_socket 21120 0
    pcmcia_core 59264 2 ds,yenta_socket
    via_rhine 22024 0
    8139too 25472 0

  13. #13


    tom_newton's Avatar
    Join Date
    Sep 2006
    Location
    Leeds
    Posts
    4,458
    Thank Post
    866
    Thanked 845 Times in 667 Posts
    Rep Power
    195

    Re: Censornet newbie, please help

    Could be the realteks - I hate em - but are you sure that it's not a DHCP issue? sometimes "works for a while2 issues are caused by the issuing or rescinding of a dhcp lease...

  14. #14

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,802
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Censornet newbie, please help

    You what? Cheap realtek cards are one of the most reliable NICs under Linux. Due to the nice Taiwanese releasing full specs.

  15. #15

    Join Date
    May 2007
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Censornet newbie, please help

    Might well be th NICs.

    A friend of mine is running CN with the exact same router and is working perfectly.

    I chose those NICs as I was after the gigabit transfer rate, but if I have to get an older more known card than so be it.

    I will try and get my hands on two 10/100 cards.

    What I can't understand then is howcome CN says that the two cards installed fine? As you say, maybe there are instabilities in the driver.

    Just a thought, the cards came with a Linux driver diskette. Maybe I could try a manual install as apposed to automatic. Think that could help?

    I also heard that even though you disable DHCP in the setup, CN actually doesn't do it. You have to manually kill the dhcpd to stop it from running.
    What is the command from the console to do it?

    Process of illimination - try different cards.

    Will keep you posted.

    Gareth

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. ISA Server Newbie
    By binky in forum Wireless Networks
    Replies: 1
    Last Post: 17th December 2007, 10:21 AM
  2. Qualifications needed for newbie
    By originofsymmetry in forum Educational IT Jobs
    Replies: 21
    Last Post: 6th December 2007, 11:35 AM
  3. proud nix newbie
    By alonebfg in forum *nix
    Replies: 5
    Last Post: 23rd September 2007, 09:23 AM
  4. Hello, newbie here
    By angelsea in forum General Chat
    Replies: 1
    Last Post: 27th March 2007, 05:39 PM
  5. Newbie
    By DSapseid in forum General Chat
    Replies: 17
    Last Post: 28th February 2007, 12:21 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •