LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   log straight into windows network from ubuntu (https://www.linuxquestions.org/questions/linux-networking-3/log-straight-into-windows-network-from-ubuntu-473614/)

delfick 08-13-2006 09:40 PM

log straight into windows network from ubuntu
 
hello

is it possible to log straight into a windows network from a computer using ubuntu dapper?

I ask because currently at my school (in my cisco class) we are playing around with linux....the problem i have is that to get apt to work i need the computer technician to do something with the server (that creates a security risk or something cause then the anyone has access to the schools internet and have no restrictions and so must be disabled upon finishing using the computer which is quite a hassle if we want to play around with it).

The reason for this is that we don't know how to log in as a specific user for apt so ... is it possible to log straight into the network in the login screen like is done on the normal windows school computers instead of logging into the local user on the machine so that subsequent use of the internet (through apt, wget or firefox or whatever is done under the user who logged in)

thnx

TigerOC 08-14-2006 03:53 PM

You'll have to be assigned an ip address by the system admin and then setup the networking. Once that is done you just need to use apt. If they use dhcp then plug the box into the network and set networking to pick up the address via dhcp. Networking is configured through /etc/network/intefaces on most Debian based distros.

delfick 08-15-2006 01:04 AM

yes...but how do i log into the network under my username on the ubuntu computer?

and how is /etc/network/interfaces able to help me?

TigerOC 08-15-2006 02:19 AM

Quote:

Originally Posted by delfick
yes...but how do i log into the network under my username on the ubuntu computer?

When you have connected the network cable as root do ifup and you should get a login request
Quote:

and how is /etc/network/interfaces able to help me?
This file configures how you connect to the network. If you are using static addressing it contains your assigned ip address and gateway. If you are using dhcp then it states that.

delfick 08-15-2006 11:02 PM

Quote:

Originally Posted by TigerOC
When you have connected the network cable as root do ifup and you should get a login request

going into termianl and typing "sudo ifup" does not give me a login request... :'( ...what do i add to that command so it does?

thnx

TigerOC 08-16-2006 02:51 AM

Please can you give more detail as to how the sysadmin has setup the network. Is the connection routed through firmware router or a software based router (i.e. a PC) and what OS is the network being run on?
What is the output of the root command (consol) route? Does this show an ip address and a gateway address (UG)?
Normally, once a system is hooked to a network via dhcp it will pickup a leased ip address and a gateway ip address. In order to get out on to the Internet the device which is running the gateway must either allow direct access to the Internet (a firmware router) or in the case of PC be running masquerading (Internet sharing). Normally one does not have to login since one is not requesting access to the PC but merely routing through the network on the PC. The PC merely identifies the requests from requesting ip address and returns responses matching that ip to the requesting address (masquerading).

delfick 08-16-2006 08:52 PM

FIrmware Router using windows 2003 server....

"route" gives me
Quote:

cisco@cisco-desktop:/$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.59.108.0 * 255.255.252.0 U 0 0 0 eth0
default 10.59.108.1 0.0.0.0 UG 0 0 0 eth0
also doing a sudo apt-get upgrade gives me this error for each repository

Quote:

407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )

TigerOC 08-17-2006 02:17 AM

This howto shows you how to use your browser behind an ISA proxy.
WRT to connecting using apt I would suggest asking this question in the network section. I have not worked with MS proxy servers and have no idea how you would authenticate using apt.

delfick 08-17-2006 06:04 AM

the browser works because when i open firefox it asks for my username and passsword for the network which upon entering i can use the interent...it's just apt that doesn't ask for a username and password so that it may have access to the internet....

also.... i thought this was the network section......

TigerOC 08-17-2006 06:22 AM

I think you need to phrase the question differently because what you are trying to achieve is to get authority to use the proxy server on 2003 for apt. This is not really access to the local network (LAN) but access to the WAN. I did a Google search and found nothing.

delfick 08-17-2006 10:42 AM

oh...k then

i thought that to get authority or autheniticate the proxy i needed to log onto the network.......


All times are GMT -5. The time now is 12:12 AM.