View Full Version : can't ping...
maengyi
2007-10-27, 08:47 PM CDT
I've just installed the fedora 7. And i did nothing, even the update.
But i can't find my pc via network. I tried ping, but no response, also ssh.
Have i forget something or have to do some setting?
ps:
I always can not found my pc via network from i switch to fedora from ubuntu.
hermouche
2007-10-27, 10:53 PM CDT
need more info!!
red
maengyi
2007-10-28, 12:04 AM CDT
I'm new to linux & fedora, What kind of information you need?
Give me some command.
Thx.
scottro
2007-10-28, 06:24 AM CDT
It's difficult to know what information to give when you are first starting.
So, question 1, what kind of ethernet card? Is it a wireless card, and if so, do you know what kind of card it is?
If it's not a wireless card, again, do you know what kind of card it is?
(If you're not sure, but have a commercial brand of computer, that is, a Hewlett Packard, Dell, or whatever, please give the model number--someone might be able to guess what sort of card it is from that. If you're also running Windows on the machine, Windows will also have that information).
Did the card work on Ubunutu? (That part of your post wasn't quite clear, whether it worked or didn't work.)
From your description, my most likely guess is that it's a wireless card, and you'll have to do a few things to get it to work, but this often depends upon which wireless card it is.
johannlo
2007-10-28, 06:50 AM CDT
Yes we need a LOT more info!!!!!!!
At a minimum pls give us the print of the command ifconfig -a
As Scottro mentions, we need to know how you are connecting.
WIth your other machines (or this machine before you put on Fedora7), how was it set up when it was working - do you use static IPs or is it DHCP? (If you have no idea about this and never changed any such settings, it will be DHCP).
Can other machines connect?
redhat_ali
2007-10-28, 10:37 PM CDT
I'm new to linux & fedora, What kind of information you need?
Give me some command.
Thx.
hi there bro!
im also a newbie (2 weeks practicing and exploring Fedora6). if you are really a newbie like me, most probably you have made your PCs to "Automatically detect IP using DHCP" without actually configuring the DHCP server itself. That way, you really can't ping. You should configure the DHCP server OR set your PCs to have static IPs. that will ping. if not, then it will be a hardware problem.
'hope I've helped :)
maengyi
2007-10-30, 06:59 AM CDT
First of all, Thank you all so much for your help.
It's difficult to know what information to give when you are first starting.
So, question 1, what kind of ethernet card? Is it a wireless card, and if so, do you know what kind of card it is?
If it's not a wireless card, again, do you know what kind of card it is?
(If you're not sure, but have a commercial brand of computer, that is, a Hewlett Packard, Dell, or whatever, please give the model number--someone might be able to guess what sort of card it is from that. If you're also running Windows on the machine, Windows will also have that information).
Did the card work on Ubunutu? (That part of your post wasn't quite clear, whether it worked or didn't work.)
From your description, my most likely guess is that it's a wireless card, and you'll have to do a few things to get it to work, but this often depends upon which wireless card it is.
Now, I can't find out the type of my ethernet card. My card if not a wireless card, And I very sure that, the
driver of this card is good. Because, I using this card to access this forum. The connection to the internet is totally good.
The card was working on Ubuntu, and also can access via ssh.
Yes we need a LOT more info!!!!!!!
At a minimum pls give us the print of the command
As Scottro mentions, we need to know how you are connecting.
WIth your other machines (or this machine before you put on Fedora7), how was it set up when it was working - do you use static IPs or is it DHCP? (If you have no idea about this and never changed any such settings, it will be DHCP).
Can other machines connect?
Here is the information of command ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:4D:34:8C:77
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2e0:4dff:fe34:8c77/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:62834 errors:0 dropped:0 overruns:0 frame:0
TX packets:40509 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:84209149 (80.3 MiB) TX bytes:3900852 (3.7 MiB)
Interrupt:19 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:7235 errors:0 dropped:0 overruns:0 frame:0
TX packets:7235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:61162204 (58.3 MiB) TX bytes:61162204 (58.3 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:222.225.10.188 P-t-P:218.231.1.10 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:62109 errors:0 dropped:0 overruns:0 frame:0
TX packets:40211 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:82665249 (78.8 MiB) TX bytes:2991569 (2.8 MiB)
The IP address of eth0[inet addr](local address) is sat by my self, when i install the fedora. actually, in the case of windows, this address is given by my router automatically.
The IP address of ppp0[inet addr](global address) is given by ISP automatically, & it changes everytime I boot my computer.
hi there bro!
im also a newbie (2 weeks practicing and exploring Fedora6). if you are really a newbie like me, most probably you have made your PCs to "Automatically detect IP using DHCP" without actually configuring the DHCP server itself. That way, you really can't ping. You should configure the DHCP server OR set your PCs to have static IPs. that will ping. if not, then it will be a hardware problem.
'hope I've helped :)
As you know, I have local ip address and globle ip address. The local ip address is sat by my self, and globle ip address is given by the ISP.
So, I think I did what i have to do. Maybe i have to set my router.
And I have another guess. Firewall. probably, the firewall blocks all the request from outside. Maybe I have to change the setting of firewall. BUT NOW, I have no idea, how to do that.
johannlo
2007-10-30, 08:02 PM CDT
to turn off firewall
as root
service iptables stop
then try pinging the computer should work. Your LAN IP is 192.168.1.10
maengyi
2007-10-31, 09:01 AM CDT
to turn off firewall
as root
service iptables stop
then try pinging the computer should work. Your LAN IP is 192.168.1.10
Thank you.
When i stop the firewall, I can connect to my pc via network. :)
My next job is to configure the firewall. :p
johannlo
2007-10-31, 08:38 PM CDT
glad to see its working for you.
Another tip: if you have SELinux enabled, some services will behave very strangely unless you configure it correctly or turn it off. When I was a linux newbie, I spent a whole weekend trying to get a samba (windows file sharing) server to work, basically got everything right apart from SELinux and spent 48 hours bashing my head on a brick wall because all the stuff I was reading was linux general, not specific to Fedora /RedHat (like SELInux is).
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.