Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Please rudimentary Ad-Hoc ifconfig route help.< Next Oldest | Next Newest >
andrewphoto Offline





Group: Members
Posts: 189
Joined: June 2005
Posted: July 25 2007,19:22 QUOTE

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.
Back to top
Profile PM 
0 replies since July 25 2007,19:22 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Please rudimentary Ad-Hoc ifconfig route help.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code