LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can not activate my network card- fedora 4 (https://www.linuxquestions.org/questions/linux-networking-3/can-not-activate-my-network-card-fedora-4-a-346150/)

Ogedei 07-24-2005 01:26 AM

Can not activate my network card- fedora 4
 
I am new to Linux.
I just created a Linux server to replace the windows server I have had for years.
Low end box with a Intel Pro 10/100 ethernet card.
After install I had internet/network connection.
No I do not.
I can not activate my network device. every time I try I get the following error.

I have standard router handling my dhcp.

ping: icmp open socket: Permission denied

I have looked at other posts so here are a few things that have been asked for:

[root@localhost ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:03:47:7B:1B:B6
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:3456 (3.3 KiB)

All I know about linux I learned from clicking Next during the install. Thanks for your help

roopunix 07-24-2005 05:43 AM

So you mean that you want ipaddress from the dhcp the router is providing

then post your

#/etc/sysconfig/network-scripts/ifcfg-eth0

Ogedei 07-24-2005 11:38 AM

here you go

# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
ONBOOT=yes
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
DEVICE=eth0
HWADDR=00:03:47:7b:1b:b6
BOOTPROTO=dhcp

roopunix 07-25-2005 01:33 AM

ok then

do you have the package installed dhclient

#rpm -q dhclient

Ogedei 07-25-2005 06:12 AM

dhclient-3.0.2-12

roopunix 07-25-2005 08:41 PM

i think the problem is with the dhcp server. did you see the log of the dhcp server?

tail -f /var/log/messeges [see this on client and server also]

are you sure that dhcp server has been configured properly?

are other clients getting the ip from the dhcp server?

what do you see at start up when the dhclient service start's in the client machine?

what about your firewall in the server side and in the client side too?
The ports are

dhcpv6-client 546/tcp
dhcpv6-client 546/udp
dhcpv6-server 547/tcp
dhcpv6-server 547/udp

confirm this that these port are not blocked in your firewall. both in server as well in client too.

Ogedei 07-26-2005 09:59 PM

Thank you for all your help.
Two things happened.
One after changing the config file to usrctl yes
and a reboot DHCP worked.

I was just going to give it a static IP.

Thanks again for all your help. Now to get Samba to work.
tough stuff for an old windows guy.

Ogedei 08-24-2005 10:26 PM

I am still unable to get to the network.

I am unsure what to do and why.

I have physical connectivity to the router.
I can ping local host but nowhere outside the box.
I have tried with the firewall on and off.

It makes no sense. The card has a status of OK and device has a status of OK

Where can I get a set of the default config files from the install? I would like to replace the existing with the default and start over.

Any other ideas would be appreciated as well.

thanks

roopunix 08-25-2005 03:46 AM

ok what's in your

less /proc/sys/net/ipv4/icmp_echo_ignore_all

less /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts

Ogedei 08-29-2005 09:35 PM

0

it seems to just hang I see an end message and then nothing

I clicked ctrl-z to stop.

what am i doing wrong?

Ogedei 08-29-2005 09:47 PM

re ran the internet connection wizard and created a new connection and it is working now.

Thanks again for all the help


All times are GMT -5. The time now is 07:38 PM.