Hello everybody,
I apologize if this has been posted previously, I did search but nothing similar came up.
I cannot set-up my internet connection - here's some background data on my set-up:
ADSL modem: Speedtouch 546v6, DHCP
OS: OpenSuse 10.3
Mode: bridge (I want to put a wireless access point later on)
I have gotten to the point where everything is set-up like this:
Code:
# ifconfig
eth0 Link encap:Ethernet HWaddr ....
inet addr:192.168.0.63 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: .... Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:484 errors:0 dropped:0 overruns:0 frame:0
TX packets:586 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38458 (37.5 Kb) TX bytes:51846 (50.6 Kb)
Interrupt:21
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:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1440 (1.4 Kb) TX bytes:1440 (1.4 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:89.120.xxx.xxx P-t-P:89.122.yyy.yyy Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1048 (1.0 Kb) TX bytes:37 (37.0 b)
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
89.122.yyy.yyy 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
Now I understand that my default gateway should be defined with the interface 'ppp0', not 'eth0' as you can see above.
Right now I'm a bit lost and I need your help - I suspect it may be something very simple - I just don't know what to do to change the default gateway's interface to ppp0.
I did understand that I need first to tell the system, at boot, not to create a default gateway to eth0, because I can't change it afterwards.
Therefore I created a /etc/sysconfig/network/ifcfg-ppp0 file with this configuration:
Code:
STARTMODE=auto
IFPLUGD_PRIORITY=
BOOTPROTO=dhcp
IPADDR=192.168.1.65
NETMASK=255.255.255.0
PREFIXLEN=
BROADCAST=
REMOTE_IPADDR=
LABEL=
SCOPE=
IP_OPTIONS=
INTERFACETYPE=
MTU=1492
LLADDR=
LINK_OPTIONS=
ETHTOOL_OPTIONS=
RUN_POLL_TCPIP=
USERCONTROL=
NAME=
UNIQUE=
_nm_name=
NM_CONTROLLED=no
BRIDGE='yes'
BRIDGE_PORTS='eth0'
BRIDGE_AGEINGTIME='300'
BRIDGE_FORWARDDELAY='0'
BRIDGE_HELLOTIME='2'
BRIDGE_MAXAGE='20'
BRIDGE_PATHCOSTS='19'
BRIDGE_PORTPRIORITIES=''
BRIDGE_PRIORITY=''
BRIDGE_STP='on'
this didn't really help at all
Many thanks for pointing in the right direction!
regards,
glu