Problem with DSL internet

Hi. I just installed FreeBSD 9.0. I have DSL internet, modem connection, but I can't connect to internet. Network interface configuration: IP address: 192.168.1.15, gateway: 192.168.1.1, mask: 255.255.255.0 and I have my ISP's DNS servers IPs. But modem is not pinging. Can you help me, please.
 
Did you use DHCP to get that IP address? Can you ping 192.168.1.1?

If that's the case the connection between your FreeBSD machine and the modem is working correctly and the problem is most likely in the modem itself.
 
I don't know how is it in other countries, but in my case I need to set up public IP if I am connected to modem (DSL) by LAN cable.
 
Abriel said:
I don't know how is it in other countries, but in my case i need setup public IP if i am connected to modem(DSL) by LAN cable.

It depends on the modem/router being used. Most xDSL providers supply a modem+router that uses NAT.
 
No. I do not use DHCP. I can not ping 192.168.1.1. modem is working properly, because I have dual boot machine and I have internet on windows.
 
Turn on DHCP on the FreeBSD machine. Let the router do its job.
 
siungaku said:
No. I do not use DHCP. I can not ping 192.168.1.1. modem is working properly, because I have dual boot machine and I have internet on windows.

What do you have, modem or xDSL router?
 
I have a modem. It is a ZTE modem, not a router.

I had FreeBSD 8.0 installed and it was working with these settings. As I installed 9.0 internet stopped working.
 
Remove the
Code:
vidcontrol green
It doesn't belong there.

And change your ifconfig_em0 line to:
Code:
ifconfig_em0="DHCP"

Remove defaultrouter. Then reboot and try again.

You will have:
Code:
hostname="sandro.sandro"
ifconfig_em0="DHCP"
Everything else can be removed.
 
Thanks a lot! It is working. I configured interfaces with sysinstall and then did not look in rc.conf. Thank you!
 
Back
Top