On Sun, 2001-12-02 at 17:12, Welby McRoberts wrote:
> On Fri, 2001-11-23 at 11:47, David Irvine wrote:
> > On Fri, 2001-11-23 at 11:26, Mark Robinson wrote:
> > > Hello Welby,
> > >
> > > Friday, 23 November 2001, you wrote:
> > >
> > > WM> Hello again everyone.
> > >
> > > WM> Two things really.
> > >
> > > WM> firstly i've got linux working on my laptop now (the one with the dodgy
> > > WM> hard disc). Mandrake linux would install fine(ish) and just would not
> > > WM> boot but i tried red hat which is working fine now (appart from some
> > > WM> immense slow down when using an openGL program....i've got one of those
> > > WM> rage mobility cards in the laptop which does support opengl hardware
> > > WM> acceleration thingy so i don't know why its slow!)
> > If your running X 4.x make sure you are using DRI (Direct Rendering
> > Interface) which can really speed up graphics on X, don't know if its
> > related to opengl, but i've had good results since enabling it on  my
> > ati  and my matrox card based machines. Go into the XF86Config file
> > (Which can be in a whole miriad of places but try /etc/X11 first)
> > and look for a line loading the DRI module in the modules section and
> > add one if there isnt. (Make sure you back up XF86Config multiple times
> > with obscure names  in case it all goes pear  shaped)
> i'm not running X 4, is there a quick (and prefreably easy )way  to
> upgrade to X 4 ?
> 

You either need to build from source, (Easier than it looks) or download
rpm's from www.xfree86.org quite a hefty download either way but it can
be worth it. I think there is dri support for xf3.x as well but im not
sure how you set it up.


> > > WM> secondly. I unfortunatly have to use AOL to connect to the internet :-(
> > > WM> (it's my mum she like the colours or summat, i hate the need to use
> > > WM> there software, the ammount of spam, the ammount of adverts etc etc)
> > > WM> anyway :-), I have wingate running a NAT on my local network (wingate is
> > > WM> running on the computer 'server' (192.168.0.1)). I am wondering how i
> > > WM> would set up linux on my laptop (welby (192.168.0.4)) so that i could
> > > WM> connect to the internet using nat.
> > >
> > > Yes, wingate is also a web proxy so you could try adding 192.168.0.1
> > > (and whatever port it's listening on) to your favourite browsers proxy
> > > settings.  That will give you browser based web access only, but it's
> > > an idea if the default gateway stuff doesn't work for some reason...
> > >
> > >  Mark
> > >
> > If you want 'real' internet access you can add the default gateway by
> > doing something like this.
> 
> By Real I guess you mean NAT?
Yes.
> 
>  
> > route add default gw 192.168.0.1
> > which will route packets via your gateway which should then munge them
> > with nat and kick them out the modem then unmunge then back to your
> > linux box when they come back. Thats the theory anyway.
> 
> I ran the command about (as root) and when i typed in 'route' i got the
> following output
> 
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
> 172.16.12.0     *               255.255.255.0   U     0      0        0 vmnet8
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
> 
> unfortunatly its still not working. It is definatly a problem on this
> machine because it is working on my other client computer.
> 

The routing table looks fine.

can you ping 192.168.0.1? If  not then try again, but also have a
tcpdump -i eth0 at the same time 

ping 192.168.0.1 & tcpdump -i eth0 should do the trick, and have a look
and see whats going on. If you see Who has 192.168.0.1 tell 192.168.0.4
but no response. then check on the gateway machine if you recieve that
request and check the network card on  that machine is recieving
packets.

If you get  a ping response the next step is to ping  a real internet
address that is working and see if that works, if so it is most likely
name resolution that is the problem.

if you don't get any response from the internet site, check your nat,
when you added the rule did you add it for the interface, or from a
source address.

also try ping -b 192.168.10.0 and see if you get a response from
anything, that can sometimes help find out what ip's are actually 
listening and not ignoring you. note windows doesnt always respond to
broadcast address ping's so don't worry too much if it doesnt work



> > Remember to add lines in your /etc/resolve.conf for the nameservers so
> > that you can do name lookups from your linux box.
> 
> I've done this as well.
> 
> > You might want to make sure wingate has correct acl's set up.
> > HTH
> Yeah the ACLs are all fine
> > David
> 


--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to