andrewphoto
Group: Members
Posts: 189
Joined: June 2005 |
|
Posted: July 25 2007,19:22 |
|
Perhaps I should dhcpd & dnsmasq.
I know all my hardware is OK from other configurations.
For little money off Ebay, I have a 3G Motorola cellphone & USB cable. modprobe cdc-acm /usr/sbin/pppd connect '/usr/sbin/chat -v "" "AT&F" OK "AT+CGDCONT=1,\"IP\",\"LEMONINTERNET\"" OK "ATDT*99#"' noauth /dev/ttyACM0 115200 defaultroute noipdefault user ppp usepeerdns
I want to internet-ppp0-wlan0-AdHoc-laptop/notebook First, I want to do/learn manually.
First I want to desktop ping -c 1 -n notebook notebook ping desktop.
Desktop wireless PCI card wlan0. Notebook wireless PCMCIA card eth0.
iwconfig wlan0 mode Ad-Hoc essid violet ifconfig wlan0 192.168.1.10 netmask 255.255.255.0 up route add -net 192.168.1.0 netmask 255.255.255.0 wlan0 route add default gw 192.168.1.1 wlan0
iwconfig eth0 mode Ad-Hoc essid violet ifconfig eth0 192.168.1.11 netmask 255.255.255.0 up route add -net 192.168.1.0 netmask 255.255.255.0 eth0 route add default gw ? eth0
Please help default gw eth0 ?
Later, I move to netmask ppp0 wlan0 dhcp etc.
|