Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-24-2005, 01:26 AM
|
#1
|
LQ Newbie
Registered: Jul 2005
Posts: 7
Rep:
|
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
|
|
|
07-24-2005, 05:43 AM
|
#2
|
Member
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208
Rep:
|
So you mean that you want ipaddress from the dhcp the router is providing
then post your
#/etc/sysconfig/network-scripts/ifcfg-eth0
|
|
|
07-24-2005, 11:38 AM
|
#3
|
LQ Newbie
Registered: Jul 2005
Posts: 7
Original Poster
Rep:
|
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
|
|
|
07-25-2005, 01:33 AM
|
#4
|
Member
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208
Rep:
|
ok then
do you have the package installed dhclient
#rpm -q dhclient
|
|
|
07-25-2005, 06:12 AM
|
#5
|
LQ Newbie
Registered: Jul 2005
Posts: 7
Original Poster
Rep:
|
dhclient-3.0.2-12
|
|
|
07-25-2005, 08:41 PM
|
#6
|
Member
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208
Rep:
|
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.
|
|
|
07-26-2005, 09:59 PM
|
#7
|
LQ Newbie
Registered: Jul 2005
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
08-24-2005, 10:26 PM
|
#8
|
LQ Newbie
Registered: Jul 2005
Posts: 7
Original Poster
Rep:
|
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
|
|
|
08-25-2005, 03:46 AM
|
#9
|
Member
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208
Rep:
|
ok what's in your
less /proc/sys/net/ipv4/icmp_echo_ignore_all
less /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
|
|
|
08-29-2005, 09:35 PM
|
#10
|
LQ Newbie
Registered: Jul 2005
Posts: 7
Original Poster
Rep:
|
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?
|
|
|
08-29-2005, 09:47 PM
|
#11
|
LQ Newbie
Registered: Jul 2005
Posts: 7
Original Poster
Rep:
|
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 03:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|