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

Gentoo Network Troubles

  • 27-04-2004 12:11pm
    #1
    Registered Users, Registered Users 2 Posts: 1,880 ✭✭✭


    I recently installed gentoo on my laptop after getting fed up with Fedora, and I really like the degree of customisability the install gave me, but the configuration on my laptop is being a bit of a bitch.
    I have a Broadcom 4400 ethernet card inbuilt into the machine, and the livecd detected it fine, but, after a genkernel, and then my own recompile, the driver doesnt work properly.. I can insmod bcm4400 fine, and the card shows up under ifconfig, and I can give it an IP. However, the problem is that, no matter what I have tried with it, I cannot ping other hosts on my network. Pinging returns (after a few second's wait) Destination Host Unreachable.
    If I run tcpdump with the card in promiscuous mode, I get a list of arp whohas requests and the occasional netbios probe.

    Any ideas?


Comments

  • Closed Accounts Posts: 5,564 ✭✭✭Typedef


    Could it be you haven't given the box a router by which to try to have network packet's routed?

    If the live cd finds all the settings it needs easily then, just replicate those settings to your box.

    What sort of network is it anyway?

    dhcp, static ip.

    The netbios stuff is a Vnet bios probe coming from a blows box or a Samba box somewhere.


  • Registered Users, Registered Users 2 Posts: 1,880 ✭✭✭nosmo


    It's just a home network, wireless AP and a windows box. I've tried using dhcpcd and setting a static IP, to no avail. Where abouts would the router settings be listed? I've removed all gateway references in /etc/conf.d/net.
    The strange thing is that my wireless card works out of the box, albeit horribly slowly.


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


    I presume you are trying to ping ips, and not hostnames, otherwise you need to set /etc/resolv.conf
    nameserver xxx.xxx.xxx.x
    but thats unlikely, basically what typedef says, try to emulate the behavour of the livecd.

    list the routing table with route, it should just have like the interface lo and maybe eth0, if you have assigned an address to eth0 just take eth0 down, ifconfig eth0 down

    then

    dhcpcd eth0

    add a default route to your router
    route add default gw routeripaddress

    route should give something like this
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
    loopback localhost 255.0.0.0 UG 0 0 0 lo
    default xxx.xxx.x.x 0.0.0.0 UG 0 0 0 eth0

    ping google.com?

    I'm afraid if that doest work i'm not sure. but the arp who has requests, would seem to sugest a lookup problem.

    Again I dont know if this helps, maybe you know all this already :)

    but is dhcpcd aquiring a proper ip for your nic?
    and can you ping logal ips?
    i guess those are the main questions.


  • Registered Users, Registered Users 2 Posts: 1,880 ✭✭✭nosmo


    Just realised another stupid thing. The ARP requests I saw were me trying to ping other hosts. >_< So I suppose the card isn't sending or recieving any traffic. I'm going to try and get a 2.6 kernel once I'm on a faster connection and see what comes of it


  • Registered Users, Registered Users 2 Posts: 1,880 ✭✭✭nosmo


    Just to put closure on the issue, I managed to fix the network problem, my usb AND my audio by adding pci=noacpi to my kernel boot options.
    Unexpected


  • Advertisement
Advertisement