spinynorman Posted June 16, 2003 Author Report Share Posted June 16, 2003 I tried some more of your recommendations. Xf86cfg gave me an 'out of range' message on entry, which I cleared using <Ctrl><Alt><->, but this got rid of the control panel as well! Xvidtune wouldn't run giving an 'error: can't open display:' message. :( However, other suggestions were more fruitful. :) I set the boot option in MCC to not load graphical environment. Using the XF86Config-4 listed below, I booted in failsafe mode and used startx, which got me into KDE with no error messages. Using <Ctrl><Alt><-> refreshed the screen again with no error. Using <Ctrl><Alt><-> a second time gave 'out of range Fh 55.7 Fv 69.1 Pixel 73.1'. Using <Ctrl><Alt><-> again got rid of the error. This suggests to me that 2 of the modelines are working. :?: On booting into a standard linux session, I'm not presented with the command line, but with the old 'out of range Fh 35.4 Fv 86.9 Pixel 23.5' message straight after the lilo menu, which persists until I switch off. What is going on? :?: :unsure: # File generated by XFdrake. # ********************************************************************** # Refer to the XF86Config man page for details about the format of # this file. # ********************************************************************** Section "Files" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Mandrake 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:-1" EndSection Section "ServerFlags" #DontZap # disable <Crtl><Alt><BS> (server abort) #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching) AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "glx" # 3D layer EndSection Section "InputDevice" Identifier "Keyboard1" Driver "Keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "gb" Option "XkbCompat" "" Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/psaux" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "monitor1" VendorName "HSL" ModelName "H530" # Option "DPMS" HorizSync 30-61 VertRefresh 56-76 ModeLine "1024x768a" 78.75 1024 1040 1136 1312 768 769 772 800 -hsync -vsync ModeLine "1024x768b" 75 1024 1032 1176 1344 768 771 777 806 -hsync -vsync ModeLine "1024x768c" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync # TV fullscreen mode or DVD fullscreen output. # 768x576 @ 79 Hz, 50 kHz hsync # ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync # ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Device" Identifier "card1" Driver "sis" VendorName "Silicon Integrated Systems [sIS]" BoardName "SIS650/651/M650/740 PCI/AGP VGA Display Adapter" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "screen1" Device "card1" Monitor "monitor1" DefaultColorDepth 16 # Subsection "Display" # Depth 8 # Modes "1024x768" "800x600" "640x480" # EndSubsection # Subsection "Display" # Depth 15 # Modes "1024x768" "800x600" "640x480" # EndSubsection Subsection "Display" Depth 16 Modes "1024x768a" "1024x768b" "1024x768c" EndSubsection # Subsection "Display" # Depth 24 # Modes "1024x768" "800x600" "640x480" # EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" EndSection Quote Link to comment Share on other sites More sharing options...
spinynorman Posted June 16, 2003 Author Report Share Posted June 16, 2003 Between testing the monitor and tearing my hair out, I found time to try some modem commands, seeking some meaningful error messages. 'drakconnect' gave the message Starting ADSL connection [FAILED] modem_run -v -f /usr/share/speedtouch/mgmt.opppd call adsl displayed modem_run help, and not surprisingly the second line did nothing. Any more suggestions, please? :) Quote Link to comment Share on other sites More sharing options...
iphitus Posted June 16, 2003 Report Share Posted June 16, 2003 I doubt this is the problem with your internet but when i first tried my to get my cable interneet working, it simply wouldn't. I eventually found out i'd firewalled myself in!! I think my firewall was on default settings too. To check it go to MCC -> Security -> Firewall, turn it off completely and try again James 99 posts.... Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 16, 2003 Report Share Posted June 16, 2003 told you you were learning loads... Why not delete the 'c' config (just comment out) and see if the same thing happens. If you can run the failsafe for now I don't think your missing anything. Can you post /etc/lilo.conf then I can see what the differences are :-) This suggests to me that 2 of the modelines are working. That was smart ! Good idea. Now its just a matter of working out why failsafe works and normal doesn't.... On the modem side... sounds like your mgmt.o is solved now its probably just permissions. Make sure you have the firewall off and minimal security (I didn't say that honest) Seriously turn it off till you get it going. Have you got the connection light?? Also you might have to do some manual reset if the modem is doing its own DHCP and allocating an address. Like I say im not big on USB modems ... mainly cos I don't really understand them like I do ethernet. Quote Link to comment Share on other sites More sharing options...
spinynorman Posted June 17, 2003 Author Report Share Posted June 17, 2003 Here is the lilo.conf. I tried commenting out 'vga=791', but still got the usual 'out of range' message. Any suggestions? :?: boot=/dev/hdamap=/boot/map vga=normal default="linux" keytable=/boot/uk.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hda1 initrd=/boot/initrd.img append="quiet devfs=mount hdc=ide-scsi acpi=off" vga=791 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/hda1 initrd=/boot/initrd.img append="devfs=mount hdc=ide-scsi acpi=off" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hda1 initrd=/boot/initrd.img append="failsafe devfs=nomount hdc=ide-scsi acpi=off" read-only other=/dev/fd0 label="floppy" unsafe I took down the firewall to get speedtouch working, as several people suggested... and it worked! :D How do I configure the firewall to keep it going? :?: I see light at the end of the tunnel... :wink: Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 17, 2003 Report Share Posted June 17, 2003 OK, anyone know exactly what passing failsafe to the kernel does. Not the lilo options, its an append therefore passed directly to the kernel. spinynorman: You should just try vga=normal You can also get rid of quiet, it might just tell more. remember to rerun lilo afterwards >lilo :-) Quote Link to comment Share on other sites More sharing options...
spinynorman Posted June 18, 2003 Author Report Share Posted June 18, 2003 You should just try vga=normal I did this and can now boot into a normal linux session with no problem! :D Why not delete the 'c' config (just comment out) and see if the same thing happens. Tried this too, and got an error, but commenting out 'b' config worked. Can now <Ctrl><Alt><-> without errors! :D I can now concentrate on the modem/firewall conundrum. From what I've been reading on other forums, Shorewall is basically a GUI for iptables. I used iptables on RH7.3 with my dialup modem, copying the instructions from a magazine. The original is at http://www.netfilter.org/unreliable-guides...linuxdoc-5.html: ## Insert connection-tracking modules (not needed if built into kernel).# insmod ip_conntrack # insmod ip_conntrack_ftp ## Create chain which blocks new connections, except if coming from inside. # iptables -N block # iptables -A block -m state --state ESTABLISHED,RELATED -j ACCEPT # iptables -A block -m state --state NEW -i ! ppp0 -j ACCEPT # iptables -A block -j DROP ## Jump to that chain from INPUT and FORWARD chains. # iptables -A INPUT -j block # iptables -A FORWARD -j block Could this be modified for ADSL? I've found a sophisticated version of this at http://beyond.linuxfromscratch.co.uk/view/...s/firewall.html. I could just about understand the simple version but I'm not sure about this. Any ideas? :?: cat > /etc/rc.d/init.d/firewall << "EOF"#!/bin/sh # Begin $rc_base/init.d/firewall # Insert connection-tracking modules (not needed if built into the kernel). modprobe ip_tables modprobe iptable_filter modprobe ip_conntrack modprobe ip_conntrack_ftp modprobe ipt_state modprobe ipt_LOG # allow local-only connections iptables -A INPUT -i lo -j ACCEPT # free output on any interface to any ip for any service (equal to -P ACCEPT) iptables -A OUTPUT -j ACCEPT # permit answers on already established connections # and permit new connections related to established ones (eg active-ftp) iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT # Log everything else: What's Windows' latest exploitable vulnerability? iptables -A INPUT -j LOG --log-prefix "FIREWALL:INPUT " # set a sane policy: everything not accepted > /dev/null iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT DROP # be verbose on dynamic ip-addresses (not needed in case of static IP) echo 2 > /proc/sys/net/ipv4/ip_dynaddr # disable ExplicitCongestionNotification - too many routers are still ignorant echo 0 > /proc/sys/net/ipv4/tcp_ecn # End $rc_base/init.d/firewall EOF Thanks. :) Quote Link to comment Share on other sites More sharing options...
iphitus Posted June 18, 2003 Report Share Posted June 18, 2003 I think it would be important to get the internet working before we go into the firewall. It'd make things a bit easier james Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 18, 2003 Report Share Posted June 18, 2003 I agree, once again didn't get round to giving LAN and internet access at the same time. I think IP tables can be used to just route and do NAT. I'm going to look into it. Ended up rewatching the Matrix becuase my two houseguests haddn't seen it and were going to see reloaded 2nite. Just couldn't let that happen!! Quote Link to comment Share on other sites More sharing options...
spinynorman Posted June 18, 2003 Author Report Share Posted June 18, 2003 You must have missed this: I took down the firewall to get speedtouch working, as several people suggested... and it worked! :D How do I configure the firewall to keep it going? :?: Quote Link to comment Share on other sites More sharing options...
Gowator Posted June 18, 2003 Report Share Posted June 18, 2003 I'll know better when ive done it!!! You might want to put a seperate topic under SECURITY in the meantime. Quote Link to comment Share on other sites More sharing options...
spinynorman Posted June 18, 2003 Author Report Share Posted June 18, 2003 You might want to put a seperate topic under SECURITY in the meantime. I think you're right. Many thanks to everyone who helped to get my monitor and modem working. :unsure: . . . . . :banghead: . . . . . 8) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.