Ubuntu :: Install IOS Via TFTP In Cisco 2600 Router?
Sep 19, 2010
I'm Melvin, doing a hardware and networking course at Aptech, Kerala, India.
How to install IOS image (file.bin) via TFTP from Ubuntu to a Cisco 2600 router.
Please post the required steps to configure tftpd in Ubuntu.
And since it is insecure, please post recommendations to secure it.
Which folder will TFTPd use and what binary permissions to assign to this folder?
I have two network interface eth0 and eth1 eth0 is on 192.168.0/24 network connected to the internet eth1 is on 10.10.10/24 network and DHCP for this network the clients connected to this interface can not connect to the internet but they can ping 192.168.0.4 which is the eth0 ip but can not ping 192.168.0.1 cisco router or anything else on 192.168.0/24 I have tried few tricks but still not working
1) iptables -t nat -A POSTROUTING -s 10.10.10.0/24 -o eth0 j SNAT --to 192.168.0.4/24 it did not work
2) iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 192.168.0.4 did not work as well
I'm trying to TFTP router configurations to a server in the same local network without having to first make files in the server's TFTP directory . The transfer of a config file from router to server works perfectly if I make a file with touch and then chmod the file with 777. I found information that says to use the -c or --create option in the TFTP configuration file (/etc/default/tftpd-hpa) if you want TFTP to work without having to create the files first. The problem is, I have set this parameter and restarted TFTP , but it is not working.
I was given a Cisco IP Phone (model 7962) and CyberGuard Firewall/VPN (model SG300) from my company. So that I can work from home. But I've been struggling for the past couple of days trying to get it to work. The phone successfully configures it's ip; but it hangs on "Registering".
The setup is such:Cisco phone plugs into the CyberGuard and gets assigned a private IP address; 192.168.48.34; from the CyberGuard.
CyberGuard plugs into my Slackware (12.1) box and gets assigned a private IP address; 10.0.0.191; from the dhcpd server on my Slackware box.
Slackware box then masquerades that 10.0.0.191 into my static public address on the internet.
Port 1723 (PPTP) is open in the iptables firewall on my Slackware box. I've also tried disabling the firewall (ie opening all ports) on my Slackware box.
On my Slackware box; via iptraf; I can see traffic between my Slackware box, the CyberGuard, and my company's server.
Traffic such as:
Code:
And on the company's server; the following is observed:
Code:
My company just keeps saying "open port 1723 + 47". But as I stated above; I have opened them. And Internet searches have revealed absolutely nothing. At this point; I am completely lost as to what may be wrong.
I bought a Cisco 1841 to study for a cisco certs. In iptables terms filtered packets are -j REJECT instead of -j DROP. To make things worse telnet and ping replies are on by default.
When I try to pxe boot a Sun X4100 (which actually has a RHEL OS on it right now) I get the message TFTP open timeout. All traffic is allowed for port 69 udp in both directions. I do get a dhcp address. I see that both on the server and the client it gets an IP. After that I get this message in the logs:
When I upgraded my 2004 Apple G5 PPC tower from 10.04 lucid to 10.10 server the ATI RadeonHD 2600 video drivers got bonked. I can only get the command line.
recently I have downloaded opensuse 11.3.tried to install latest version of graphic driver.but after uncompressing it says:
which: no XFree86 in (/home/muhammad/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin) Error: ./default_policy.sh does not support version default:v2:i686:lib::none:2.6.34-12-desktop:; make sure that the version is being correctly set by --iscurrentdistro Removing temporary directory: fglrx-install.fvzKbN
I have installed kernel sources,xorg x11 headers and gcc.
Dual Boot Gone Bad I have been trying to set up a dual boot laptop on an old Dell Inspiron 2600. I got the machine cheap, and it is in excellent condition. I have upgraded the Bios to A11 (it was A4 when I got it) and put in a 40 Gig HD. It is maxed-out in memory at 360 Mb. It has the awful (by today's standards) Intel i810 video mess. I created an NTFS (primary) partition on the first half of the drive and installed XP, updated through SP3. I then attempted to install Debian 6 (squeeze) on the second half. I was unable to get anywhere with an installation using a squeeze Live CD. The screen just goes blank about 60 seconds into the installation, and everything freezes up. In rescue mode, I can get some screen play, but the rendering is awful and half of what you do is actually off the screen and you can't see what it is you are doing.
I hooked up a separate monitor, and was able to watch the installation just fine until it reached a certain point in the boot-up, then everything again went blank and the machine again froze up. I tried Ubuntu 10.10, Ubuntu 10.04 LTS, Mint 10, and Ultimate Edition 10.10 with varying degrees of success, but none completing and working.
The Ubuntu 10.04 LTS actually installed, but I could not get sufficient graphics in either a terminal (entered at the end of the install process just before re-booting) or booting to text only mode to sudo a change to the xorg.conf file that was native to the system, rather than to the installation package itself (which goes away when you reboot).
I was able to install 'squeeze' using the 'expert graphical install' mode under 'advanced options' (it lets you select a screen resolution when it starts the install), and when I got to the end of the installation, before re-booting, I told the system to open a monitor as 'root', and wrote what I thought would have been an appropriate xorg.conf file in the /etc/X11 subdirectory using nano (monitor and driver specs, as well as suggested xorg.conf entries obtained elsewhere on the web).
[Code]...
I'M SO CLOSE! Can somebody help me and tell me how to edit GRUB so it again recognizes the partition... or reinstall GRUB.... or let me know if the problem is with the XP MBR.... And if so, maybe hopefully lead me to how to fix THAT issue without screwing up the Debian install (I know this isn't an "UGH"- Windows forum). If worst come to worst, I can delete all the Linux partitions, use my Windows install disk to repair the MBR, and reinstall lenny.... Hopefully with GRUB not losing XP this time. I hate to do it because it has taken me a couple of days to get ANY form of Linux actually working right on this machine..... but at least I know how to do it now and what distro will actually work.
Also, anybody with a clue as to why squeeze won't boot after what appears to be a successful installation (with the above-listed xorg.conf file in place) and what I can do to fix that issue would also be appreciated. It will be nice to have a system installed that has current support next year.
I have a problem installing CentOS 5.5 over lan. I set up a dhcp3 server and it works, client got an ip. I set up a tftpd-hpa server and it works, client can boot the install image of CentOS 5.5 I set up an apache server and it seems to be impossible... In the installation marathon I clicked through the menu to the choice of the web server where my installation files are available. I enter the ip 192.168.138.1 and the path CentOS-5.5 and CentOS tells me "Unable to retrieve http://192.168.138.1//CentOS-5.5/images/stage2.img" . Thats right because the two slashes are not right. Where the hell come the two slashes from???
I tried to install CiSCO's Packet Tracer on Fedora 14, though it went thought all stags on installation, it did now show up, any one has had any measure of success installing it? Seems it is much easier to run the Windows version using Wine!
I am trying to install Ubuntu 10.04 On my Laptop and it is not working I think it has something to do with the graphics. When I reboot my computer with the CD or Dual Boot (from using Windows Installer) the screen looks very faded,flashy or just not showing up like the quality of its regular Windows Start Up. It also won't show very much just a real messed up screen with blotchy images and very flash almost like when you push down a Game Boy or a Laptop Screen.My Model is a Inspiron model 2600 it has a 1.13GHz with 512 Mb of RAM
I recently upgraded from 9.10 to 10.04 and was having trouble getting 3D graphics enabled on my ATI card. I am running on an MacPro3,1I read through this guide as I was having errors regarding fglrx so I uninstalled it and as instructed issued the following:
I'm running Ubuntu 9.10 on an HP Desktop with an ATI Radeon 2600 pci card that has four outputs. I want to run the same 3-monitor array that I had in windows. Is it possible to get this thing running and configured right in Linux? At the moment I can only get it to send a signal to 2 monitors. I installed the drivers step by step from the manufacturer, but I can't seem to get a signal to all 3 monitors.
I didn't found working driver for my card yet. Using OpenSUSE 11.2 KDE, Motherboard MSI 648F Neo, Pentium4 2.8GHz, 2 x 1GB DDR.I've found, that my card should be supported according to HCL/ATI Video Cards - openSUSEInstallation following ATI drivers - openSUSE Easy Way didn't work because of chcecksum difference (x11-video-fglrxG02), Repositary Way too. Hard Way Installation resulted to disability of Graphic Environment and I wasn't able to fix that (finally, I somehow get running KDE, but Kwin always broke down, so system was unuseful).
I also tried packages found by Software search (Software.openSUSE.org), so package 'xorg-x11-driver-video-radeonhd' but nothing works for me, some of them provide result of "glxingo | grep direct" -> "No", some of them "Yes", but in this case I wasn't able to run "glxgears", because of error "drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info." Desktop Effects I cannot run anyway. how to get graphic acceleration working. It will be great if is here someone with exactly same, or similar card, he could write a step-by-step guide to do that. Starting with fresh installation of OpenSUSE (not corrupted by my previous tries) is not problem.
Program Knoppix 3.1 cdr Computer Dell 2600. Floppy start up yields a stopped functioning computer with the following line: "Probing SCSI... aic7xxx0" At this point the computer is locked up and I have to turn it off. A restart causes the same action.
So basically what I am trying to do is install Ubuntu 10.04 on a Dell Poweredge 2600 server. Right now I dont care wither I get the server version or the desktop version, I just need to get it on their. this is what I have run into. When installing the regular Ubuntu 10.04 desktop for 32bit, the server just locks up on the very first ubuntu install screen and the keyboard lights just start blinking non stop. When I use the server version, the server get to the Detecting Network Hardware and locks up at 94% and the keyboard will also start blinking nonstop. I have looked all over for an answer to this problem and have yet to find one. This guy figured out how to make it work but he never mentioned what version he was using. [URL]..
On this server I have 6 HDs, 5 of them are RAID 0 with 1 Hot Spare. I have also tried using the ubuntu-10.04.1-alternate-i386.iso.torrent and still had the same problem. I have spent the last 3 days searching all over google and the forum to an answer but had no luck.
I have a custom Ubuntu distro that run both from a CD and PXE boot. The problem I have is that I need to boot in an environment that has to be routed through a router that can't forward NFS (the protocol doesn't use a standard port) I found that the Ubuntu based Clonezilla Live CD has a option like "fetch tftp://server/folder/filesystem.squashfs" I can borrow the kernel and initrd and it works, but how do I add this feature myself? Is there a package I need to install or a initrd option I need to add?
I have been trying to install Ubuntu by network booting, I used tftp in Windows in another pc, and the target boots successfully but fails to download from any archive mirror, I'm not sure what goes wrong.
Well, I'm trying to do is, my friend's HP-mini fails to boot to Windows, and BIOS also gives error-messages, the thing is that my friend has important data on his netbook, it has only one drive, no cd-rom, and it doesn't support USB-booting, so I was thinking if I get to access an Ubuntu, I will be able to backup his data and install Windows, I would use anything that would let me copy files.
Do we really need the lines if I am allowing any machine to connect? And I have only 1 network card. This is acting as a dedicated TFTP server.I ask as I get an error on the get and put commands as below:
tftp> get xxx.txt tftp: error received from server <File not found> tftp: aborting
However although it gives an error it DOES GET the file.The put command however does NOT put the file. I have nobody / nogroup setup for the directory permissions as well.
tftp> put .vimrc tftp: error received from server <File not found> tftp: aborting
Press F12 for network service boot PXE-M0F: Exiting Intel Boot Agent. When i take tcpdump on server i see dhcp discover and dhcp offer coming and going out but no tftp request on cobbler server in var/log/messages also i am seeing dhcp offer and discover
How can we use DHCP to find or allocate ipaddress in ubuntu.I have connected Hawkboard, i need to known the ip address of my system and hawkboard. how can i find ip address of board connected to system, i have used serial port null modem cable and ethernet crossover cable between the board and system
Because of the configuration of my house, I need two routers.I have a DLink ADSL router as my main router and the Belkin N1 as my repeater.I have set up the IP address in the Belkin to be 10.1.1.10 - my DLink is 10.1.1.1. I have disable the dhcp in the Belkin and set the DNS as ISP provided. [URL]..I have set the channel to 11 and in the Ubuntu Network Manger I have set the IPV4 to Link Local Only. I can see the Belkin and connect with my PC.but it will not take me through to the internet.
In Jaunty (9.04) I've setup a small (eleven-terminal) ltsp network at the local school. It handled around 6600 working hours with ease. Now I've upgrade the server to Karmic Koala (9.10) and it just stopped working. 1) The clients have PXE NICs 2) They get the proper IPs from the DHCP server and respond appropriately to changes in the DHCP configuration files. 3) DHCP server also points the clients to filename=/ltsp/i386/pxelinux.0 4) When the clients try to download the pxelinux.0 over tftp they just timeout 5) /etc/inetd.conf has an entry like tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot 6) The file /var/lib/tftpboot/ltsp/i386/pxelinux.0 exists on the server
I'm lost at all these configuration files and protocols.