Jump to content

streeter

Members
  • Posts

    333
  • Joined

  • Last visited

Everything posted by streeter

  1. ifconfig eth0:1 202.82.192.166 netmask 255.255.255.241 up See man ifconfig Not sure from your post if this is the network you are using to access the Internet, but if it is, you will need to add the default route to your routing table. You may also need to remove an existing default route too. route del default route add default gw 202.82.192.161 eth0:1 or is your routing even more complicated? Chris EDIT: Just noticed the netmask - surely that should be 240 ??
  2. ifconfig eth0:1 192.168.4.1 up (or whatever IP address you need) should do the trick Chris
  3. Have a look at the 'simple net setup' howto listed in the pinned topic right at the top of the networking forum. It's title is sharing internet connections, but there is a link to this howto - follow the assigning static addresses link. Good luck! Chris
  4. Hi Ian This is a Windows question :) You will need to add the route to the XP box to the routing tables of the other XP machines. It goes something like route -p add 192.168.3.0 mask 255.255.255.0 192.168.1.3 The -p makes it persistant. route print displays the routing table Chris
  5. Probably :) Could look in the security levels section - theres an entry there for 'accept ICMP echo' which is posh for ping. But that alone won't allow file sharing. If you get stuck, post the output of iptables -nvL here. You may need to install iptables with 'urpmi iptables'. Chris
  6. Hi You say you cannot ping the AP - assuming you are trying to ping it by IP address, i.e. ping 10.123.192.33, then you should be able to with your routing table as it is... There must be a problem with the antenna/card/driver/ssid/wep key /something else :) doesn't look very promising... One thing, have you been allocated your IP address by the admin, or chosen it yourself? It may be conflicting with somebody elses... I suspect the IP addresses are supposed to be allocated automatically by DHCP (when you can connect) To access the Internet through the wireless network, you will need to lose the ppp0 stuff and set the default gateway to wlan0. I assume this is what you are trying to do, or are you dialling up/using PPP over wireless too somehow? To set the default route to wlan0, be root and do: route del default route add default gw 10.123.192.33 wlan0 All non-local packets should then get sent to the wireless card. The bit implies a small subnet of 30 nodes. I just looked on the southernwifi web site - the route should be to the entire 10.0.0.0 network (as it is in the next line of your routing table) , so you could lose this line with route del -net 10.123.192.32 netmask 255.255.255.224 wlan0 Not that that should make any difference to being able to ping the AP, as it is on this subnet.
  7. Nope - to ping, you just need plain old TCP/IP - which is working OK, as you can ping one way and connect to the net. I suspect you have a firewall running on the Linux box. To test this, have a look at my 'how to disable your firewall for testing' page at http://www.iwpcs.co.uk/linux_firewall_disable.html. If you can then ping, let us know, together with what you are using as a firewall front end and we can work out how to enable comms. Chris
  8. Pretty much correct - your routing table shouldn't need anything done to it as long as you are not trying to do anything strange. The default gateway is set to your router address and the interface should be the one plugged in to it... Default gateway and (optional) gateway device are set in /etc/sysconfig/network - again, see the howto. Chris
  9. Try setting the connection sharing up manually - have a look at the howto in the pinned topic at the top of the networking forum.
  10. You are trying to put both cards on the same network - make one of them (the one not connected) 192.168.1.something and change the network number, netmask, broadcast etc. Have you tried setting both to dhcp at the same time, plugging one in at a time and bringing networking up? All we need to do is prove that eth0 (a Surecom card - what model?) can be assigned an IP address, then we can proceed... See the pinned topic at the top of the networking forum for how to set up internet connection sharing.
  11. streeter

    Opera

    Mainly use Firefox, but switch to Opera (used to use it all the time) for my daily marking off of orders in our online shop - have 20-30 tabs open at once, pasting a despatch date in and clicking a few tick boxes - there's a noticable and annoying half second or so pause with Firefox in between tabs - switching is instant in Opera. This is on a 1GHz Athlon - probably not a problem ona faster machine.
  12. Could try adding the following to /etc/sysconfig/network-scripts/ifcfg-xxx: WIRELESS_IWCONFIG="essid xxxxxxxxx key XXXXXXXXXXXXXXXXXXXXXXXXXXXX open" The parameters should be passed to iwconfig. Don't know if it will work...
  13. Probably - perhaps it is time for a fresh install, if there's not too much work to lose? You will probably find it easier the second time around - you will have gained lots of experience whilst sorting out your problems :) Chris
  14. I think this means you need the perl-URPM package (and possibly some others?)- you will have to install them from the command line with the rpm command. Stick your install CD/DVD in the drive and cd to the RPMS directory. Type rpm -Uvh <packagename> to install any package. Note packagename must be the full filename when using rpm - something like perl-URPM- x.xx-xmdk.i586.rpm You should be able to install kpackage this way - then if it runs, you could use that to install graphically/search for packages you may need if you like. The problem with rpm is it doesn't resolve dependencies for you - justs prints a list of packages the package you are trying to install needs. If this happens to you, you can specify multiple packages on a single line, e.g. rpm -Uvh <packagename1> <packagename2> <packagename3> Once you have urpmi running, things are a bit easier... Good luck! Chris Edit: If the problem has been caused by upgrading perl, you may have to 'downgrade' it. To do this, the command rpm -Uvh --force <packagename_from_the_CD> should do the trick. Check to see what perl packages are installed, then reinstall them all from the CD.
  15. Ouch... As several packages do not work, it is probably a problem with something else stopping them running, like a kde library. Try urpmi --auto-select to upgrade from the command line. This may fix your problem. You can install packages from the command line as root - for the control centre, type urpmi draktools. urpmi rpmdrake for the installer. To get a clue as to the problem if it still exists, start the program from the command line - you will get text output. For instance, to start the control centre, type mcc. If you install kpackage (yep - urpmi kpackage) you can view and search all the installed packages and dependencies easier than with the mandrake tools. Chris
  16. Not sure I can help you any more - almost out of ideas. One suggestion is to try making a boot floppy - do you get this option when you install? it may be easier to edit the files on that. Have a look at these two pages: Raid boot floppy Not exactly stuff for beginners, but between them, you may find something of use - particularly the raid page - if you look at the lilo.conf (2.6 kernel section - skip the compiling and install bit, assuming the modules are already installed) there, you will see the raid controller is accessed using the ide-scsi scsi emulation module - try editing your lilo.conf along these lines. Note the use of sda instead of hdc. Also note the line May work. You could always re-install if you make a mess of it, so nothing to lose... There must be somebody out there who knows about this - HELP! Chris
  17. What do you mean 'rare'? I have always found Linux to be rock solid in the networking department:) Windows has a long history of going to sleep and not waking up again - check your power management settings - I used to install cash register software on networked Windows touch screens, and this was a common problem (imagine your cash register not waking up when you have a queue of customers...) We just used to tell it never to go to sleep and the problem was solved. Chris
  18. I think the swap partition is probably more likely to be hdc6 and the root partition hdc5 (but again, no experience of RAID - though I think it should be transparent. All the installs I have done put / on the first partition in your scheme, then swap, then /home). Also, the swap partition will definitely not be ext3 - it will be formatted as linux swap. OH - you may need to remount /dev/hdc5 (if that's the correct partition...) as read/write in order to write an initrd to it while in knoppix. mount -o remount,rw /dev/hdc5 /mnt/wherever_you_are_mounting_it Also, posting the /boot/ directory listing may help us (assuming it exists!) - see previous posts. You can redirect it to a file (say, on a mounted USB key) with ls -l /boot/ > /mnt/where_you_mounted_the_usb_key/listing.txt Have you tried to do another fresh install - may be the quickest way. Check the install CD/DVD to make sure it is not corrupted as well. Have fun! Chris
  19. Not really sure what you mean by the last post - can you clarify? To look at /var/boot/boot.log, you need to type cat /var/boot/log (or less /var/boot/boot.log to pause at each screen) lilo.conf is now fine - booting to a console or gui is controlled elsewhere (/etc/inittab - look for default runlevel) But don't mess with it too much - take a copy first.... Try control alt F7 (or F1 to F...) to switch between consoles and gui before you touch inittab If the gui doesn't start, try typing startx or init 5 Or were you choosing failsafe? Chris
  20. NO! :) What you want is what you had originally (it did work, didn't it?), with just the default= line changed to default=windows The other bit should be left the same, i.e. other=/dev/hda1 label="windows" table=/dev/hda is correct. windows and linux are just labels - they could just as easily be "inferior_operating_system" and "best_operating_system" , in which case you would want default=inferior_operating_system at the top of the file. other means other operating systems, in other words not Linux. See man lilo.conf Here's an extract from my lilo.conf, altered so windows is the default: default="windows" boot=/dev/hda map=/boot/map install=menu vga=ext keytable=/boot/uk.klt compact prompt nowarn timeout=300 message=/boot/message menu-scheme=wb:bw:wb:bw other=/dev/hda1 label="windows" table=/dev/hda image=/boot/bzImage.custom label="2.6.custom" root=/dev/hda5 append="devfs=mount splash=silent acpi=on resume=/dev/hda8" vga=791 read-only As you can see, I have indented the lines to make the operating system entries clearer... The order of the entries does not matter - the windows section could be at the bottom like yours. Hope this helps.
  21. yes - just change the line to default="windows" compact can go anywhere before the label="linux" line Then type lilo as root.
  22. See my earlier post - you will have to do it after booting to knoppix and typing the chroot command with the parameters as it appears on your earlier post. Your kernel version may be different to the command shown, so if it doesn't work, post a listing of your /boot directory with ls -l /boot/ and will see if we can help. I am still not sure if it will work at all though - sorry :) Chris PS Are you using the default kernel (i.e. did you choose another when you installed) - I see the mkinitrd command has smp in it. Perhaps you need this for RAID? Anybody else know?
  23. Did you try the mkinitrd line from your previous post? I'm not sure, and don't know if it will work, but I think the problem may lie there. I do know the default kernel (at least in previous Mandrake versions) does not contain the modules for the ext3 file system, and loads them from the initial ramdisk (initrd). Chris
  24. I had the exact same 'problem' - Mandrake's stuff was not simple/quick enough - so I wrote a little front end to ifconfig/iwconfig etc using QT3 designer. I just need to run it and click the buttons as required... Not the greatest bit of programming in the world - mostly comprises of system calls to bash commands, but it works well for me. Obviously I have removed my (and my customers) WEP keys, SSIDs etc from it, but give it a try. A few things are set up for my system, e.g. the yenta modules for PCMCIA, and promiscuous mode for a Cisco wireless PCMCIA card. Also font sizes..... the list goes on. Perhaps I will tweak it one day if someone asks me nicely. Brief instructions: Put list of WEP keys in wifiup.wep Put list of SSIDs in wifiup.ssid Run wifiup as root Click on buttons randomly and see what happens :) or better still, you could start by setting the wireless device dropdown to whatever your card uses, set the IP address and gateway. I find I need to take eth0 down (to get rid of the existing default gateway) Click wifi up (this uses the entry from the wireless device dropdown, IP address and gateway) Some cards need the managed or ad-hoc buttons pressing Set the WEP and SSID dropdowns and click their buttons. Click renew address if you need DHCP Use your connection Let me know how you get on - remember, I wrote this for my own use on my thinkpad, so it may not work for you... Also the usual caveats apply re melting computers, data loss, accidently starting nuclear wars etc. The binary was compiled on Mandrake 10.1 official. Don't look too closely at the source all you programmers out there :) To compile, type make in the directory. Download from http://www.iwpcs.co.uk/wifiup/qtwifiup.tar.gz Chris EDIT: My missus reckons (nags me) I should ask for a few quid to be sent to my paypal account if anyone uses this for business - is that allowed? :deal:
  25. I have no experience with doing this with RAID, but I don't see why this should be any different... This MAY work... Turn on - when you get the lilo screen, hit esc and type linux root=/dev/hda5 (or wherever your installation is). This should load and run your new installation, from where you can log on as root, edit /etc/lilo.conf and type lilo. Reboot. Failing that, have you a Linux boot CD, like Knoppix? Boot with this, open a console and: su mkdir /mnt/root mount /dev/hda5 /mnt/root chroot /mnt/root #edit /etc/lilo.conf if you need to lilo halt Only problem I can see is that if mkinitrd failed, you may not be able to mount the filesystems, so it won't work. If not, try typing the mkinitrd line from your post.
×
×
  • Create New...