Results 1 to 9 of 9

Thread: ifconfig internet error..

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    2

    ifconfig internet error..

    hi i've just set up a small network at home..

    i can get it working fine on windows but am having problems with linux..
    my server is 192.168.1.10
    my client is 192.168.1.11

    so i went to netcardconfig and said no to dhcp and added them manually.
    this was the result...

    ifconfig eth0 192.168.1.11 net mask 255.255.255.0 broadcast 192.168.1.255 route add default gw 192.168.1.10
    auto lol eth0
    setting name server 192.168.4.100
    adding name server 192.168.8.100


    this is all the same as my windows settings apart from having a broadcast address... is this where i am going wrong ?
    any body got any idea as to why it wont let me get on to the internet..
    cheers
    knoppix knewbie...

  2. #2
    Junior Member
    Join Date
    Apr 2003
    Posts
    9

    Is it a firewall issue?

    A quick an easy way to find out.... without getting into iptables

    apt-get install firestarter
    as root run firestarter
    From the window that opens chose from the first pull down menu named Firewall --> Stop Firewalll.... and try again.

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Posts
    2
    that sounds nice but i need to get it online first...
    sorry if i didn't make it clear that i cannot get it online.

  4. #4
    Junior Member
    Join Date
    Apr 2003
    Posts
    9

    Get online from another machine...

    and download firestarter unstable (find it here) and then install it on your linux box...

    ...although it seems that debian servers are down because of a recent security breach.

    I guess you can try to compile firestarter from source code... or read the iptables manual here

    You can try this script... I have not tried myself... it is harmless... other than reversibly turning off your firewall... yeah, thats safe nowadays!.

    #!/bin/bash
    # Flushing and initializing the chains
    iptables -F
    iptables -X
    iptables -Z

    # This is intended for the loopback device... you can try it with eth0 (if that #is your network interface, or eth1 or whatever). If this let you get into the #internet, then you have a firewall/iptables issue, easily solved, but you #have to read the manual... if you reboot the iptables parameters will be #restored as they were before you ran this script
    iptables -A INPUT -i eth0 -j ACCEPT
    iptables -A OUTPUT -o eth0 -j ACCEPT

  5. #5
    Junior Member
    Join Date
    Apr 2003
    Posts
    9
    my prior post is missing the first line. It should say:

    Get online from another machine... and download firestarter....

  6. #6
    Junior Member
    Join Date
    Apr 2003
    Posts
    9
    also the link to the iptables HOWTO was broken.... check this one

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555

    Re: ifconfig internet error..

    I wouldn't advise installing a firewall before establishing basic connectivity.
    Your parameters look fine to me. What does "ifconfig" report?
    Can you ping the other system? (ping 192.168.1.10)
    Also is this other system a windows box? Is it actually set up to allow routing?

  8. #8
    Junior Member
    Join Date
    Apr 2003
    Posts
    9
    The prior post is very wise indeed....

    However sometimes a firewall gets installed without us knowing/notizing...

    So, if thats the case, and for whatever reason you do have a firewall problem, you can try the above suggestions to rule that out... then again, the problem can be many other things, but if you cannot ping another machine, it is wise (and simple) to rule out a firewall problem (not an unfrequent networking "problem")...

  9. #9
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    There are no firewalls set up by default on knoppix. You should do this. Make sure your card is detected. Look at the output of lspci from a shell. Does it show your card? You might also look at the output of dmesg. Double check the network settings you are plugging in. If this all looks good, then check the cable you are using from the machine to the router. Is the cable good? Are you using the right kind of cable: straight ethenet? crossover? I'm not exactly sure how you have things set up so you need to check these things out.

Similar Threads

  1. ifconfig says yes ping says no
    By masticate in forum Networking
    Replies: 0
    Last Post: 06-14-2005, 08:45 AM
  2. ifconfig lo down AND [kapmd] how to kill??
    By vid2vid in forum General Support
    Replies: 2
    Last Post: 04-10-2005, 08:05 AM
  3. terminal server: Bus error on client ifconfig
    By skyywalk in forum General Support
    Replies: 0
    Last Post: 03-07-2005, 09:41 AM
  4. ipconfig = ifconfig, ok. /release = ???
    By xave in forum Networking
    Replies: 6
    Last Post: 05-19-2004, 07:47 AM
  5. ifconfig or netcardconfig dhcp syntax
    By sminotti in forum Networking
    Replies: 6
    Last Post: 09-23-2003, 04:21 AM

Posting Permissions

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


Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Dell Precision T7820 Dual Xeon 4214R 48GB RAM 512GB + 1TB Quadro P400 Win 11 picture

Dell Precision T7820 Dual Xeon 4214R 48GB RAM 512GB + 1TB Quadro P400 Win 11

$699.00



Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor   picture

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor

$50.00



Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600  Win 10 picture

Dell Precision T1700 Workstation Intel Xeon 16G Ram 256GG SSD Nvidia 600 Win 10

$109.99



Intel Xeon E5-2697v2 ( E5-2697 v2)  SR19H -  2.7GHz 12 Core LGA2011 picture

Intel Xeon E5-2697v2 ( E5-2697 v2) SR19H - 2.7GHz 12 Core LGA2011

$35.00



Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS picture

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS

$127.54



Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU picture

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU

$7.95



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS picture

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS

$239.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00