Networking - Windows & linux

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
Subject: Networking - Windows & linux
Bad gateway address on linux box.

make sure that /etc/sysconfig/network has...

GATEWAY=192.168.2.1

and that /etc/sysconfig/network-script/ifcfg-eth0 doesn't have any
gateway address in it.

then...
service network restart

and see what happens

Craig

On Mon, 2003-01-20 at 13:51, Stephen Andert wrote:
> 1- No, I'm only using the Win98 machine because the wireless USB nic/access
> point worked easier with that than with linux. I also *need* to have the
> Win98 machine working since it is my official "work-at-home" pc from my
> company and if it is down then when I want to work from home, I won't be
> able to and I'll have to drive in to the office.
>
> 2- I only tried briefly to get usb working on Linux, mainly due to #1 above.
>
> Thanks
> Stephen
>
> ---Win98---
> Windows 98 IP Configuration
>
>
>
>     Host Name . . . . . . . . . : Qwest.net
>     DNS Servers . . . . . . . . : 206.80.192.1
>                                       204.147.80.5
>     Node Type . . . . . . . . . : Broadcast
>     NetBIOS Scope ID. . . . . . :
>     IP Routing Enabled. . . . . : No
>     WINS Proxy Enabled. . . . . : No
>     NetBIOS Resolution Uses DNS : Yes

>
> 0 Ethernet adapter :
>
>         Description . . . . . . . . : IEEE802.11b WLAN USB Adapter v2.5
>     Physical Address. . . . . . : 00-02-DD-31-57-EA
>     DHCP Enabled. . . . . . . . : No
>     IP Address. . . . . . . . . : 192.168.2.50
>     Subnet Mask . . . . . . . . : 255.255.255.0
>     Default Gateway . . . . . . : 192.168.2.1
>     Primary WINS Server . . . . :
>     Secondary WINS Server . . . :
>     Lease Obtained. . . . . . . :
>     Lease Expires . . . . . . . :

>
> Active Routes:
>
> Network Address          Netmask  Gateway Address       Interface Metric
>         0.0.0.0          0.0.0.0      192.168.2.1     92.168.2.50      1
>       10.3.35.2  255.255.255.255      192.168.2.1     92.168.2.50      1
>       127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1      1
>     192.168.2.0    255.255.255.0     192.168.2.50     92.168.2.50      1
>    192.168.2.50  255.255.255.255        127.0.0.1       127.0.0.1      1
>   192.168.2.255  255.255.255.255     192.168.2.50     92.168.2.50      1
>       224.0.0.0        224.0.0.0     192.168.2.50     92.168.2.50      1
> 255.255.255.255  255.255.255.255     192.168.2.50     92.168.2.50      1

>
> ---linux---
> eth0      Link encap:Ethernet  HWaddr 00:A0:C9:AB:7C:E0
>           inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           Interrupt:9 Base address:0xfce0

>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:3924  Metric:1
>           RX packets:135 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:135 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0

>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use 
> Iface
> 192.168.2.0     0.0.0.0         255.255.255.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.2.51    0.0.0.0         UG    0      0        0 eth0

>
>
> >From: Craig White <>
> >
> >On Mon, 2003-01-20 at 12:44, Stephen Andert wrote:
> > > I'm trying to move my whole family to linux and the best way I can do
> >that
> > > is to make all the same resources (internet, decent games for kids,
> >e-mail,
> > > etc) available on a linux machine so they can start using it.
> > >
> > > I've now gotten Red Hat reinstalled (couldn't get X to work with 8) and
> >have
> > > the network card setup (correctly I think) to be in a position to see
> >the
> > > rest of the network.
> > >
> > > Linux (.2) is connected to a hub.
> > > Also connected to the hub is a Win98 pc (.51).
> > > Win98 machine also has usb wireless adapter (.50) talking to
> > > Wireless access point (.1)
> > >
> > > There are other machines involved, but the key thing I'm shooting for is
> > > internet access from linux (.2) which can only be done through the Win98
> >pc
> > > right now. I also want to be able to login to the linux machine from
> >other
> > > pc's on the network using telnet sessions. I think I have everything I
> >need
> > > to get these done, but am getting stuck at one detail which I hope the
> >list
> > > will forgive the questions -
> > >
> > > When I connect the USB Wireless Access Point (.50) on the Win98 machine,
> > > winipcfg doesn't "see" the physical NIC (.51)? Any tips?
> > >
> > > Feel free to take the tips offline if this will start a holy war.
> > >
> >-----
> >1 - you didn't give us enough fill on your network. Are you trying to 2
> >NIC's on the Win98 machine in order to use Windows Internet Connection
> >Sharing (Win98SE option) - if so...you will make this excessively more
> >difficult. If not, what is the router...the Wireless Access Point?
> >
> >2 - usb wireless is not the easiest thing to use on linux. When you boot
> >up, does dmesg|less give you any listing that it found the wireless
> >adaptor? what does ifconfig tell you?
> >
> >it would help if you would...
> >
> >windows 98: ipconfig /all > c:\win.txt
> >             route print >> c:\win.txt

> >
> >linux     : ifconfig -a > /tmp/linux.txt
> >             route -n >> /tmp/linux.txt

> >
> >and then show us the outputs of both
> >
> >Craig
> >
> >---------------------------------------------------
> >PLUG-discuss mailing list -
> >To subscribe, unsubscribe, or to change you mail settings:
> >http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss