I have a problem with setting up my Speedport W500V modem/router after moving from Germany back to Ukraine. In Germany everything worked just fine with the built-in firmware from D-Telekom and Alice.
Since situation in Ukraine is a bit more complicated with the way I connect to Internet I've decided from the beginning to install Bitswitcher to have a wider opportunities and options. Connection to Internet at my place here is done in 2 steps:
* connection to a local network (Ethernet cable). ISP gives me a certain "locally static" IP address, Gateway and 2 DNS servers (no DHCP). Furthermore this connection is allowed only for my MAC address (a minor problems, but still);
* then: connection to a VPN server address via login and password provided by ISP (usually via Windows standard VPN connection, PPTP).
What I just told - is what I do to connect from my PC. _Now I want to set everything up with the router I have to share this connection in the local network with my father. Thats where I need a help!_
I presume I have to follow the same steps I do as in the case of connection from the PC. Which means that I need
* to assign a fixed IP address, Gateway and DNSes to an _external_ (eth0 device?) .
* and to connect to a VPN server with the provided IP address, login, password and some minor security options.
**Question is - how can I do all that in Bitswitcher, any suggestions :) ?**
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
P.S. OK, I have some progress, but still everything does not work.
So, I've managed a first step - connection to a local network with the eth0 device with the fixed IP, GW and DNS. My German is quite bad, but after decryption I've mainly followed the instructions from :
Greetings to everybody!
I have a problem with setting up my Speedport W500V modem/router after moving from Germany back to Ukraine. In Germany everything worked just fine with the built-in firmware from D-Telekom and Alice.
Since situation in Ukraine is a bit more complicated with the way I connect to Internet I've decided from the beginning to install Bitswitcher to have a wider opportunities and options. Connection to Internet at my place here is done in 2 steps:
* connection to a local network (Ethernet cable). ISP gives me a certain "locally static" IP address, Gateway and 2 DNS servers (no DHCP). Furthermore this connection is allowed only for my MAC address (a minor problems, but still);
* then: connection to a VPN server address via login and password provided by ISP (usually via Windows standard VPN connection, PPTP).
What I just told - is what I do to connect from my PC. _Now I want to set everything up with the router I have to share this connection in the local network with my father. Thats where I need a help!_
I presume I have to follow the same steps I do as in the case of connection from the PC. Which means that I need
* to assign a fixed IP address, Gateway and DNSes to an _external_ (eth0 device?) .
* and to connect to a VPN server with the provided IP address, login, password and some minor security options.
**Question is - how can I do all that in Bitswitcher, any suggestions :) ?**
P.S. OK, I have some progress, but still everything does not work.
So, I've managed a first step - connection to a local network with the eth0 device with the fixed IP, GW and DNS. My German is quite bad, but after decryption I've mainly followed the instructions from :
/Exclude eth0 from bridging device br0:
_brctl delif br0 eth0_
/Set appropriate parameters from my ISP
_ifconfig eth0 down_
_ifconfig eth0 hw ether 00:1E:37:90:B3:D3_
_ifconfig eth0 172.25.100.23 netmask 255.255.255.0 up_
/Check if the gateway is accessible (WORKED!)
_ping 172.25.100.1_
/At this stage VPN server is not accessible
_ping 172.25.254.254_
/Need to setup a gateway
_route add default gw 172.25.100.1_
/Now VPN server is accessible (WORKED!)
_ping 172.25.254.254_
Then I've tried to make a second step, i.e. PPP over Ethernet following :
/Set the PPP over Ethernet
_pppd -c 1.32.1 -i eth0 -u LOGIN -p PASS -q 172.25.254.254 -f 0 -P 1 -d &_
_echo "1" > /proc/var/fyi/wan/ppp_1_32_1/wanup_
/Now need to add DNS servers
_echo "nameserver SOME_SERVER" >> /etc/resolv.conf_
_echo "nameserver SOME_SERVER" >> /etc/resolv.conf_
/Ping to nameservers WORKED!
/Set NAT in Firewall manually
_iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE_
/After last step I can ping DNS from my wireless network, thus routing and NAT WORKED
/Check Internet access
_ping www.google.com_
/Does NOT WORK, says:
PING www.google.com (209.85.129.104): 56 data bytes
/it seems that the name was resolved but still there is some problem. Any ideas?
/If I do a tracert from my PC connected to a router via WLAN it says:
Tracing route to www.l.google.com
over a maximum of 30 hops:
1 1 ms 1 ms 1 ms 192.168.2.1
2 2 ms 3 ms 2 ms 172.25.100.1
3 172.25.254.2 reports: Destination net unreachable.
/But if I tracert directly from my PC connected to a LAN and then VPN it says:
Tracing route to www.l.google.com
over a maximum of 30 hops:
1 2 ms 1 ms 1 ms 10.0.0.1
2 2 ms 2 ms 1 ms gw-ha.alkar.net
3 4 ms 2 ms 2 ms core-0-2GE-220dot1q.kharkov.ucomline.net
4 etc
#Any hints???
: http://bitswitcher.sourceforge.net/howto.html#kabelmodem
: http://bitswitcher.sourceforge.net/howto.html#pppoe