i think you need to set your static ip address
it can be edited in /etc/network/interfaces
should be summit like
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
broadcast 192.168.5.255
gateway 192.168.5.254
i think you need to set your static ip address
it can be edited in /etc/network/interfaces
should be summit like
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
broadcast 192.168.5.255
gateway 192.168.5.254
Also a total newbie who forgot to make his Introduction. You should have internet access from the server. check your router settings and make it fixed ip there.
apologies for being selfish and not introducing myself, iv'e now done that, and thanks for the help
I am having problems replacing configs with s** configs,
it seems to be write protected, im using flshfxp to ftp the files
any help is much appreciated
I am having problems replacing configs with s** configs,
it seems to be write protected, im using flshfxp to ftp the files
any help is much appreciated
Then you are not logged in as root, Debian allows root login so change your credentials. Flashfxp will get you nowhere either. Read the tut again from start to finish and you may notice this
For Beginners - How To Add Lines To Linux Server Using CS Studio
thanks for the quick reply and great tutorial Ten
i just have my cscam configs to do for my smargo :)
Hello guys, I followed this tutorial to the letter but no Joy... I think I know why it's not happening but I have no idea how to sort it..
Firstly, I will explain my setup.
My new Debian server is not connected directly to the router. It is connected to My main PC which in turn connects to the router Via Wireless USB card. On my main PC (Which has Win 7), I use Internet Connection Sharing to share the internet with My Debian server vis LAN Cable. OK, I then move onto this part of the Tutorial:
QuoteDisplay More1. Log into your server as root user by opening the terminal & typing
su
Then enter the root password you chose during Debian install
Now enter the following commands one at a time pressing enter after each
wget http://tiny.cc/ns80h
chmod 755 ns80h
./ns80h
The script will now do its work, it then requires user input for 4 questions
Q. IP Address of youserver?
Choose a static ip for your server e.g 192.168.1.99
Q. Subnet Mask?
e.g 255.255.255.0
Q. Gateway?
Here enter your routers ip address
Q. Dns servers ip?
Again here enter your routers ip address
The install will now complete then you will be prompted to reboot
After I reboot, I have no Internet. The little icon up the top right for Network Status says "wired network not managed" or something like that when I hover over it. I think my problem is that this tutorial was set up for a debian server that was directly connected to the router whereas Im sharing a wireless connection as described above.
Here is some info that may help someone to suggest a fix..
The IP address i picked for My Linux server during this tutorial: 192.168.1.123
IP address of my Router: 192.168.0.1
IP Address of My desktop which I connect to for internet sharing 192.168.1.17
Also, My internet server provider gives me a static IP Address
Thanks..
Thanks Ten, but Ive taken your advice and setup the server connected directly to the router.. I went through the whole install word for word but I still have a problem... Here is the error:
/sbin/ifdown: interface eth0 not configured
SIOCADDRT: No such process
Failed to bring up eth0.
########## Congradilations ############
You're Server is ready to run.
Demo configs included
Please reboot your machine now.
When I rebooted No internet connection, same error, network not managed or something... This has been a hard switch from windows.. Id troubleshoot this problem in 5 mins in windows... Aaaaah.. Please help
Bump!!! Please help me here.. Stuck..
Can you post your /etc/network/interfaces file please.
No problem Ten, here is my current /etc/network/interfaces file. I have changed this around for the last day or two in about 5 different linux installs with no joy..
QuoteDisplay More# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.1.99
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.0.1
After I edit & save the /etc/network/interfaces file, I try to restart networking. Here is what I get:
chris@debian:~$ su
Password:
root@debian:/home/chris# /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Reconfiguring network interfaces...SIOCADDRT: No such process
Failed to bring up eth0.
done.
root@debian:/home/chris#
Also, I dont know if this is relevant but I have a Static IP Address assigned from my ISP. Should that IP address be in this file or settings somewhere.
Thanks
I have did a little reading and found others with the same problem, try this mate
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.99
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.0.1
Display More
note: gateway should be your routers ip, once you have made the changes network interfaces need to be restarted to take effect with this command.
Cheers M8, Ill try that now.. Just another thing when Im off doing that on my server. I seen in some post somewhere on this site that I can log into my server from my desktop PC. This would be very handy for me now as I have set up my server directly wired to the router and every time I have to make changes, I have to use the main TV which is causing big problems with wifey & Kids.. Could you point me in the right direction for that? Im sure I have to sort out this network problem first though.. Thanks again M8..
This is what you want mate but obviously wont work until the ethernet port is configured
[h=3]For Beginners - How To Add Lines To Linux Server Using CS Studio[/h]
I will also forward you the link i found if correct the allow-hotplug eth0 line is causing the problem.
Quote
Tried removing that "allow-hotplug eth0 line" & restarted the networking but same problem.
Quoteroot@debian:/home/chris# /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Reconfiguring network interfaces...SIOCADDRT: No such process
Failed to bring up eth0.
done.
root@debian:/home/chris#
Ha, I feel like crying.... The only thing that is keeping me at this is the fact that I know the networking was working on this fresh install of debian. It just stopped working after the Automated Oscam/CCcam install Script. So at least I know its not a hardware problem.. Just an idea Ten, but could I do a fresh install and back up the /etc/network/interfaces, then run the script and recover the backed up /etc/network/interfaces file? Im not sure if that would help but at lease I know the networt was working with the orig settings.
One last question, the tutorial said to put in dyndns.org for host name when I was installing Debian, Do I have to have a dyndns account for this to work? I know Im backtracking all over the place but I am just convinced that I missed something... Thanks again M8
One more thing, do I need to Enable DDNS service in my Router? I just noticed flicking through settings that DDNS service is not enabled.
Yes backing up then restoring would work mate, it does not matter about entering the dns during install & rather than use the router dns update service i find installing ddclient much better.
This guide will work on both Ubuntu & Debian.
Installing DNS Updater On Ubuntu Server
If you are doing a fresh install i suggest this one using ubuntu server edition as this one does not set your ip during the cams install process.
OK, Ill give that a shot Ten, Thanks M8
Don’t have an account yet? Register yourself now and be a part of our community!