Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Setting up IOLBB in Linux

  • 06-01-2005 12:44pm
    #1
    Closed Accounts Posts: 240 ✭✭


    Can anyone offer any help with this.
    I'm on the verge of ripping out what remaining hair I have!
    Using a Zyxel 623R-T1.
    Trying to connect through the Network Adapter connected to the router by Cable.
    Running Slackware 10.0.
    Is it supposed to be this difficult?


Comments

  • Registered Users, Registered Users 2 Posts: 1,865 ✭✭✭Syth


    Well what would you know, I've got slack 10 and IOLBB and the same broadband modem as you. Slackware being slackware, means there is no GUI stuff. A word of warning AFAIK it doesn't work with the USb connector, only ethernet.

    What you need to look into is ifconfig and route. ifconfig is used for viewing and configuring a network interface. route is used to tell your computer how to sent packets of data around the place.

    You will have to do all this as root, and I'm going to assume your broadband modem is plugged into the first ethernet port. If not change eth0 to eth1, eth2, etc.

    You will need to give eth0 (the first ethernet port) one of the reserved IPs, ie something in the range 192.168.x.x I choose 192.168.1.10. The broadband modem has an IP of 192.168.1.1. To make eth0 have an IP of 192.168.1.10 enter: "ifconfig eth0 192.162.1.10" You can checlk to see if that worked by typing "ifconfig". You should see 192.168.1.10 as the 'inet addr' of eth0.

    You need to also tell you PC that the internet is accessable through eth0, i.e. it has to know how to route stuff. If you only have one PC, then everything should be sent through eth0. First it has to know that IPs starting eith 192.168.1.x should be sent throgh eth0, a quick "route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0" will tell it to use eth0 for any IP starting with 192.168.1.x. To set up the default gateway enter "route add default gw 192.168.1.1". That way if it doesn't know where to send something it sends it to 192.168.1.1. The first "route..." told it to send those packets through eth0.

    That should be what it takes. :) I'm doing this kinda of memory, so I might have forgotten a tiny detail, so if it don't work tell us why.


  • Closed Accounts Posts: 240 ✭✭jjmax


    Thanks for all this.
    I've followed your instructions, but still no joy.
    I can ping 192.168.1.10, but I cannot access the internet.
    The light over 10/100M on the Router is flashing orange.
    I'm able to access the Internet fine from my XP machine using the same router connected by USB.
    Is there any test I can run to see what the problem might be?
    Also, I rebooted and the information in ifconfig was lost, I reentered it but how do I save these entries?
    Once again I appreciate your help on this.


  • Registered Users, Registered Users 2 Posts: 1,865 ✭✭✭Syth


    Due to most of my poking I have learned this smattering of interface and routing stuff. So I was looking at how mystuff was hooked up and trying to reverse engineer how to get that. Then I remembered what I did to set it up. netconfig. There is a script/programme called netconfig that sets it up and stores all the info. Try running (as root) netconfig.

    BTW you should be able to ping 192.168.1.10, you're pinging yourself! Pinging 192.168.1.1 is pinging the broadband modem and is a good test.


  • Registered Users, Registered Users 2 Posts: 1,419 ✭✭✭nadir


    yeah., so basically when you can ping 192.168.1.1 you need to add a default route to it.
    route add default gw 192.168.1.1
    that should basically sort it out.


  • Closed Accounts Posts: 240 ✭✭jjmax


    Cheers lads,

    I'll give this a try in the morning.


  • Advertisement
  • Closed Accounts Posts: 240 ✭✭jjmax


    It's still not working.
    Here's what I did -

    netconfig
    Enter Hostname - (not sure about this one) esat
    Enter Domainname for esat - (Still not sure) esat.ie
    Set IP Address for esat.esat.ie - static IP
    Enter IP address for esat.esat.ie - 192.168.1.10
    Enter Netmask for local network - 255.255.255.0
    Enter Gateway Address - 192.168.1.1
    Use A Nameserver - Yes
    Select Nameserver - 192.168.1.1

    After a reboot, I still can't ping 192.168.1.1.
    I'm probably missing something obvious, networking has never been my forte.
    One again, any suggestions would be much appreciated.


  • Closed Accounts Posts: 240 ✭✭jjmax


    Oh yeah,

    This is the info I get when I enter ifconfig

    eth0
    inet addr:192.168.1.10
    BCast:192.168.1.255
    Mask: 255.255.255.0


  • Registered Users, Registered Users 2 Posts: 1,865 ✭✭✭Syth


    The hostname is the name of your PC. The domain name should not be esat.ie, unless you work for esat. You should set the domainname to localdomain. The hostname can be set to localhost, or something more creative if you want. I think the rest looks OK.

    Your ifconfig stuff looks OK. (ie the same as mine)

    What about `netstat -nr`? (That will display your routing info)
    Mine looks like this:
    ernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
    127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
    0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0
    


  • Closed Accounts Posts: 240 ✭✭jjmax


    First off, Syth, I really appreciate this help. It's hard to find someone willing to show a newbie the what, how, and where. So, cheers for that.
    When I run netstat -nr I get an identical readout to yours.
    At this stage I'm thinking it's the network cable.
    I'll be out of the country for the rest of the month so I won't get a chance to work on this anymore now.
    Once again big thanks to you, and I'll message you after I try swapping the cable (no spares at the minute!).
    Take care.


  • Registered Users, Registered Users 2 Posts: 1,865 ✭✭✭Syth


    No bother. If you search this forum (or maybe it was the broadband forum), you'll see me asking for help on setting up IOL broadband. :)

    It might be your network card. If you get something like 'eth0: error fetching interface information: Device not found', when you try ifconfig eth0, then your PC isn't able to regonise your network card. Happened to me one.


  • Advertisement
Advertisement